Tornado 4.5 Documentation
detail in Asynchronous and non-Blocking I/O; this section is about the particulars of asynchronous techniques in RequestHandler subclasses. The simplest way to make a handler asynchronous is to use the coroutine version 4.0. WebSocketHandler.get_compression_options() Override to return compression options for the connection. If this method returns None (the default), compression will be disabled. If it returns used to control the following compression options: compression_level specifies the compression level. mem_level specifies the amount of memory used for the internal compression state. These parameters are0 码力 | 333 页 | 322.34 KB | 1 年前3
Tornado 4.5 Documentation
detail in Asynchronous and non-Blocking I/O; this section is about the particulars of asynchronous techniques in RequestHandler subclasses. The simplest way to make a handler asynchronous is to use the coroutine netloc.endswith(".mydomain.com") New in version 4.0. WebSocketHandler.get_compression_options() Override to return compression options for the connection. 70 Chapter 4. Documentation Tornado Documentation default), compression will be disabled. If it returns a dict (even an empty one), it will be enabled. The contents of the dict may be used to control the following compression options: compression_level specifies0 码力 | 222 页 | 833.04 KB | 1 年前3
Tornado 6.0 Documentation
WebSocketHandler.get_compression_options() → Optional[Dict[str, Any]] [source] Override to return compression options for the connection. If this method returns None (the default), compression will be disabled used to control the following compression options: compression_level specifies the compression level. mem_level specifies the amount of memory used for the internal compression state. These parameters are org/3.6/library/zlib.html#zlib.compressobj New in version 4.1. Changed in version 4.5: Added compression_level and mem_level. WebSocketHandler.set_nodelay(value: bool) → None[source] Set the no-delay0 码力 | 869 页 | 692.83 KB | 1 年前3
Tornado 6.1 Documentation
WebSocketHandler.get_compression_options() → Optional[Dict[str, Any]] [source] Override to return compression options for the connection. If this method returns None (the default), compression will be disabled used to control the following compression options: compression_level specifies the compression level. mem_level specifies the amount of memory used for the internal compression state. These parameters are org/3.6/library/zlib.html#zlib.compressobj New in version 4.1. Changed in version 4.5: Added compression_level and mem_level. WebSocketHandler.set_nodelay(value: bool) → None[source] Set the no-delay0 码力 | 931 页 | 708.03 KB | 1 年前3
Tornado 6.1 Documentation
endswith(".mydomain.com") New in version 4.0. WebSocketHandler.get_compression_options() → Optional[Dict[str, Any]] Override to return compression options for the connection. 6.2. Web framework 75 Tornado default), compression will be disabled. If it returns a dict (even an empty one), it will be enabled. The contents of the dict may be used to control the following compression options: compression_level specifies specifies the compression level. mem_level specifies the amount of memory used for the internal compression state. These parameters are documented in details here: https://docs.python.org/3.6/library/zlib0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 5.1 Documentation
version 4.0. WebSocketHandler.get_compression_options() Override to return compression options for the connection. If this method returns None (the default), compression will be disabled. If it returns used to control the following compression options: compression_level specifies the compression level. mem_level specifies the amount of memory used for the internal compression state. These parameters are org/3.6/library/zlib.html#zlib. compressobj New in version 4.1. Changed in version 4.5: Added compression_level and mem_level. 74 Chapter 5. Documentation Tornado Documentation, Release 5.1.1 WebSocketHandler0 码力 | 243 页 | 895.80 KB | 1 年前3
Tornado 6.0 Documentation
endswith(".mydomain.com") New in version 4.0. WebSocketHandler.get_compression_options() → Optional[Dict[str, Any]] Override to return compression options for the connection. 76 Chapter 6. Documentation Tornado default), compression will be disabled. If it returns a dict (even an empty one), it will be enabled. The contents of the dict may be used to control the following compression options: compression_level specifies specifies the compression level. mem_level specifies the amount of memory used for the internal compression state. These parameters are documented in details here: https://docs.python.org/3.6/library/zlib0 码力 | 245 页 | 885.76 KB | 1 年前3
Tornado 6.4 Documentation
WebSocketHandler.get_compression_options() → Optional[Dict[str, Any]] Override to return compression options for the connection. If this method returns None (the default), compression will be disabled. used to control the following compression options: compression_level specifies the compression level. mem_level specifies the amount of memory used for the internal compression state. These parameters are org/3.6/library/zlib.html#zlib. compressobj New in version 4.1. Changed in version 4.5: Added compression_level and mem_level. WebSocketHandler.set_nodelay(value: bool) → None Set the no-delay flag for0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.2 Documentation
WebSocketHandler.get_compression_options() → Optional[Dict[str, Any]] Override to return compression options for the connection. If this method returns None (the default), compression will be disabled. used to control the following compression options: compression_level specifies the compression level. mem_level specifies the amount of memory used for the internal compression state. These parameters are org/3.6/library/zlib.html#zlib. compressobj New in version 4.1. Changed in version 4.5: Added compression_level and mem_level. WebSocketHandler.set_nodelay(value: bool) → None Set the no-delay flag for0 码力 | 260 页 | 1.06 MB | 1 年前3
Tornado 6.4 Documentation
WebSocketHandler.get_compression_options() → Optional[Dict[str, Any]] Override to return compression options for the connection. If this method returns None (the default), compression will be disabled. used to control the following compression options: compression_level specifies the compression level. mem_level specifies the amount of memory used for the internal compression state. These parameters are org/3.6/library/zlib.html#zlib. compressobj New in version 4.1. Changed in version 4.5: Added compression_level and mem_level. WebSocketHandler.set_nodelay(value: bool) → None Set the no-delay flag for0 码力 | 268 页 | 1.09 MB | 1 年前3
共 20 条
- 1
- 2













