Tornado 6.5 Documentation
kqueue (BSD/macOS), or /dev/poll (Solaris). Tornado will also run on Windows, although this configuration is not officially supported or recommended for pro- duction use. Some features are missing on object The Application object is responsible for global configuration, including the routing table that maps requests to handlers. The routing table is a list of URLSpec objects (or tuples), each of which above, these methods will be called with arguments corresponding to the capturing groups of the routing rule that matched. Within a handler, call methods such as RequestHandler.render or RequestHandler0 码力 | 272 页 | 1.12 MB | 2 月前3Tornado 6.5 Documentation
kqueue (BSD/macOS), or /dev/poll (Solaris). Tornado will also run on Windows, although this configuration is not officially supported or recommended for production use. Some features are missing on Windows RequestHandler and Application classes tornado.template — Flexible output generation tornado.routing — Basic routing implementation tornado.escape — Escaping and string manipulation tornado.locale — Internationalization object The Application object is responsible for global configuration, including the routing table that maps requests to handlers. The routing table is a list of URLSpec objects (or tuples), each of which0 码力 | 437 页 | 405.14 KB | 2 月前3Rust 程序设计语言 简体中文版 1.85.0
let result = add(2, 2); assert_eq!(result, 4); } } 上述代码就是自动生成的测试模块。cfg 属性代表配置(configuration),它告诉 Rust 接下来 的项只有在给定特定配置选项时,才会被包含。在这种情况下,配置选项是 test,即 Rust 所 提供的用于编译和运行测试的配置选项。通过使用 cfg 属性,Cargo0 码力 | 562 页 | 3.23 MB | 9 天前3
共 3 条
- 1