Tornado 5.1 Documentation
asynchronous programming. While some support of WSGI is available in the tornado.wsgi module, it is not a focus of development and most applications should be written to use Tornado’s own interfaces (such as which do every- thing they are going to do before returning). There are many styles of asynchronous interfaces: • Callback argument • Return a placeholder (Future, Promise, Deferred) • Deliver to a queue removed. 5.3.2 tornado.httpclient — Asynchronous HTTP client Blocking and non-blocking HTTP client interfaces. This module defines a common interface shared by two implementations, simple_httpclient and curl_httpclient0 码力 | 243 页 | 895.80 KB | 1 年前3
Tornado 5.1 Documentation
asynchronous programming. While some support of WSGI is available in the tornado.wsgi module, it is not a focus of development and most applications should be written to use Tornado’s own interfaces (such as which do everything they are going to do before returning). There are many styles of asynchronous interfaces: Callback argument Return a placeholder (Future, Promise, Deferred) Deliver to a queue Callback class. RuleRouter and ReversibleRuleRouter are implementations of Router and ReversibleRouter interfaces and can be used for creating rule-based routing configurations. Rules are instances of Rule class0 码力 | 359 页 | 347.32 KB | 1 年前3
Tornado 4.5 Documentation
which do everything they are going to do before returning). There are many styles of asynchronous interfaces: Callback argument Return a placeholder (Future, Promise, Deferred) Deliver to a queue Callback simply raise an exception (as opposed to the ad-hoc error handling common in callback-oriented interfaces), and Futures lend themselves well to use with coroutines. Coroutines will be discussed in depth class. RuleRouter and ReversibleRuleRouter are implementations of Router and ReversibleRouter interfaces and can be used for creating rule-based routing configurations. Rules are instances of Rule class0 码力 | 333 页 | 322.34 KB | 1 年前3
Tornado 6.1 Documentation
asynchronous programming. While some support of WSGI is available in the tornado.wsgi module, it is not a focus of development and most applications should be written to use Tornado’s own interfaces (such as which do every- thing they are going to do before returning). There are many styles of asynchronous interfaces: • Callback argument • Return a placeholder (Future, Promise, Deferred) • Deliver to a queue await. 6.3.2 tornado.httpclient — Asynchronous HTTP client Blocking and non-blocking HTTP client interfaces. This module defines a common interface shared by two implementations, simple_httpclient and curl_httpclient0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 4.5 Documentation
which do every- thing they are going to do before returning). There are many styles of asynchronous interfaces: • Callback argument • Return a placeholder (Future, Promise, Deferred) • Deliver to a queue simply raise an exception (as opposed to the ad-hoc error handling common in callback-oriented interfaces), and Futures lend themselves well to use with coroutines. Coroutines will be discussed in depth argument. 4.3.2 tornado.httpclient — Asynchronous HTTP client Blocking and non-blocking HTTP client interfaces. This module defines a common interface shared by two implementations, simple_httpclient and curl_httpclient0 码力 | 222 页 | 833.04 KB | 1 年前3
Tornado 6.0 Documentation
asynchronous programming. While some support of WSGI is available in the tornado.wsgi module, it is not a focus of development and most applications should be written to use Tornado’s own interfaces (such as which do every- thing they are going to do before returning). There are many styles of asynchronous interfaces: • Callback argument • Return a placeholder (Future, Promise, Deferred) • Deliver to a queue class. 6.3.2 tornado.httpclient — Asynchronous HTTP client Blocking and non-blocking HTTP client interfaces. This module defines a common interface shared by two implementations, simple_httpclient and curl_httpclient0 码力 | 245 页 | 885.76 KB | 1 年前3
Tornado 6.2 Documentation
asynchronous programming. While some support of WSGI is available in the tornado.wsgi module, it is not a focus of development and most applications should be written to use Tornado’s own interfaces (such as which do every- thing they are going to do before returning). There are many styles of asynchronous interfaces: • Callback argument • Return a placeholder (Future, Promise, Deferred) • Deliver to a queue class. RuleRouter and ReversibleRuleRouter are implementations of Router and ReversibleRouter interfaces and can be used for creating rule-based routing configurations. Rules are instances of Rule class0 码力 | 260 页 | 1.06 MB | 1 年前3
Tornado 6.4 Documentation
asynchronous programming. While some support of WSGI is available in the tornado.wsgi module, it is not a focus of development and most applications should be written to use Tornado’s own interfaces (such as which do every- thing they are going to do before returning). There are many styles of asynchronous interfaces: • Callback argument • Return a placeholder (Future, Promise, Deferred) • Deliver to a queue class. RuleRouter and ReversibleRuleRouter are implementations of Router and ReversibleRouter interfaces and can be used for creating rule-based routing configurations. Rules are instances of Rule class0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
asynchronous programming. While some support of WSGI is available in the tornado.wsgi module, it is not a focus of development and most applications should be written to use Tornado’s own interfaces (such as which do every- thing they are going to do before returning). There are many styles of asynchronous interfaces: • Callback argument • Return a placeholder (Future, Promise, Deferred) • Deliver to a queue class. RuleRouter and ReversibleRuleRouter are implementations of Router and ReversibleRouter interfaces and can be used for creating rule-based routing configurations. Rules are instances of Rule class0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
asynchronous programming. While some support of WSGI is available in the tornado.wsgi module, it is not a focus of development and most applications should be written to use Tornado’s own interfaces (such as which do every- thing they are going to do before returning). There are many styles of asynchronous interfaces: • Callback argument • Return a placeholder (Future, Promise, Deferred) • Deliver to a queue class. RuleRouter and ReversibleRuleRouter are implementations of Router and ReversibleRouter interfaces and can be used for creating rule-based routing configurations. Rules are instances of Rule class0 码力 | 268 页 | 1.09 MB | 1 年前3
共 20 条
- 1
- 2













