Tornado 6.5 Documentation
str, **kwargs: str) → None RequestHandler.put(*args: str, **kwargs: str) → None RequestHandler.options(*args: str, **kwargs: str) → None 42 Chapter 6. DocumentationTornado Documentation, Release 6.5 samesite: str | None = None, **kwargs: Any) → None Sets an outgoing cookie name/value with the given options. Newly-set cookies are not immediately visible via get_cookie; they are not present until the next implementation; other static file implementations are not required to support this, but they may support other options). By default this method returns URLs relative to the current host, but if include_host is true0 码力 | 272 页 | 1.12 MB | 2 月前3Tornado 6.5 Documentation
development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing — Unit testing support for asynchronous code tornado.util RequestHandler.post() RequestHandler.delete() RequestHandler.patch() RequestHandler.put() RequestHandler.options() Input RequestHandler.get_argument() RequestHandler.get_arguments() RequestHandler.get_query_argument() WebSocketHandler.close() Configuration WebSocketHandler.check_origin() WebSocketHandler.get_compression_options() WebSocketHandler.set_nodelay()Other WebSocketHandler.ping() WebSocketHandler.on_pong() WebSocketClosedError0 码力 | 437 页 | 405.14 KB | 2 月前3Rust 程序设计语言 简体中文版 1.85.0
如果一些库的使用者决定实现一个包含 width、height 和 options 字段的结构体 SelectBox, 并且也为其实现了 Draw trait,如示例 18-8 所示: 文件名:src/main.rs use gui::Draw; struct SelectBox { width: u32, height: u32, options: Vec, } impl Box::new(SelectBox { width: 75, height: 10, options: vec![ String::from("Yes"), String::from("Maybe"), 0 码力 | 562 页 | 3.23 MB | 10 天前3
共 3 条
- 1