Tornado 5.1 Documentation
somewhere to go. • Decorated coroutines have additional integration with the concurrent.futures package, allowing the re- sult of executor.submit to be yielded directly. For native coroutines, use IOLoop web.Application([ (r"/static/(.*)", web.StaticFileHandler, {"path": "/var/www"}), ]) We support virtual hosts with the add_handlers method, which takes in a host regular expression as the first argument: IOLoop). This distinction is not present in asyncio, so in order to facilitate integration with that package instance() was changed to be an alias to current(). Applications using the cross-thread communications0 码力 | 243 页 | 895.80 KB | 1 年前3Tornado 6.1 Documentation
somewhere to go. • Decorated coroutines: – have additional integration with the concurrent.futures package, allowing the result of executor.submit to be yielded directly. For native coroutines, use IOLoop web.Application([ (r"/static/(.*)", web.StaticFileHandler, {"path": "/var/www"}), ]) We support virtual hosts with the add_handlers method, which takes in a host regular expression as the first argument: IOLoop). This distinction is not present in asyncio, so in order to facilitate integration with that package instance() was changed to be an alias to current(). Applications using the cross-thread communications0 码力 | 245 页 | 904.24 KB | 1 年前3Tornado 6.0 Documentation
somewhere to go. • Decorated coroutines: – have additional integration with the concurrent.futures package, allowing the result of executor.submit to be yielded directly. For native coroutines, use IOLoop web.Application([ (r"/static/(.*)", web.StaticFileHandler, {"path": "/var/www"}), ]) We support virtual hosts with the add_handlers method, which takes in a host regular expression as the first argument: IOLoop). This distinction is not present in asyncio, so in order to facilitate integration with that package instance() was changed to be an alias to current(). Applications using the cross-thread communications0 码力 | 245 页 | 885.76 KB | 1 年前3Tornado 4.5 Documentation
Tornado and enables the use of ThreadedResolver. It is needed only on Python 2; Python 3 includes this package in the standard library. pycurl [http://pycurl.sourceforge.net] is used by the optional tornado.curl_httpclient Application([ (r"/static/(.*)", web.StaticFileHandler, {"path": "/var/www"}), ]) We support virtual hosts with the add_handlers method, which takes in a host regular expression as the first argument: futures [https://docs.python.org/3.5/library/concurrent.futures.html#module-concurrent.futures] package to be installed (available in the standard library since Python 3.2, installable with pip install0 码力 | 333 页 | 322.34 KB | 1 年前3Tornado 4.5 Documentation
and enables the use of ThreadedResolver. It is needed only on Python 2; Python 3 includes this package in the standard library. • pycurl is used by the optional tornado.curl_httpclient. Libcurl version web.Application([ (r"/static/(.*)", web.StaticFileHandler, {"path": "/var/www"}), ]) We support virtual hosts with the add_handlers method, which takes in a host regular expression as the first argument: ThreadedResolver Multithreaded non-blocking Resolver implementation. Requires the concurrent.futures package to be installed (available in the standard library since Python 3.2, installable with pip install0 码力 | 222 页 | 833.04 KB | 1 年前3Tornado 5.1 Documentation
futures [https://docs.python.org/3.6/library/concurrent.futures.html#module-concurrent.futures] package, allowing the result of executor.submit to be yielded directly. For native coroutines, use IOLoop Application([ (r"/static/(.*)", web.StaticFileHandler, {"path": "/var/www"}), ]) We support virtual hosts with the add_handlers method, which takes in a host regular expression as the first argument: org/3.6/library/asyncio.html#module- asyncio], so in order to facilitate integration with that package instance() was changed to be an alias to current(). Applications using the cross-thread communications0 码力 | 359 页 | 347.32 KB | 1 年前3Tornado 6.4 Documentation
somewhere to go. • Decorated coroutines: – have additional integration with the concurrent.futures package, allowing the result of executor. submit to be yielded directly. For native coroutines, use IOLoop web.Application([ (r"/static/(.*)", web.StaticFileHandler, {"path": "/var/www"}), ]) We support virtual hosts with the add_handlers method, which takes in a host regular expression as the first argument: IOLoop). This distinction is not present in asyncio, so in order to facilitate integration with that package instance() was changed to be an alias to current(). Applications using the cross-thread communications0 码力 | 268 页 | 1.09 MB | 1 年前3Tornado 6.2 Documentation
somewhere to go. • Decorated coroutines: – have additional integration with the concurrent.futures package, allowing the result of executor. submit to be yielded directly. For native coroutines, use IOLoop web.Application([ (r"/static/(.*)", web.StaticFileHandler, {"path": "/var/www"}), ]) We support virtual hosts with the add_handlers method, which takes in a host regular expression as the first argument: IOLoop). This distinction is not present in asyncio, so in order to facilitate integration with that package instance() was changed to be an alias to current(). Applications using the cross-thread communications0 码力 | 260 页 | 1.06 MB | 1 年前3Tornado 6.4 Documentation
somewhere to go. • Decorated coroutines: – have additional integration with the concurrent.futures package, allowing the result of executor. submit to be yielded directly. For native coroutines, use IOLoop web.Application([ (r"/static/(.*)", web.StaticFileHandler, {"path": "/var/www"}), ]) We support virtual hosts with the add_handlers method, which takes in a host regular expression as the first argument: IOLoop). This distinction is not present in asyncio, so in order to facilitate integration with that package instance() was changed to be an alias to current(). Applications using the cross-thread communications0 码力 | 268 页 | 1.09 MB | 1 年前3Tornado 6.4 Documentation
somewhere to go. • Decorated coroutines: – have additional integration with the concurrent.futures package, allowing the result of executor. submit to be yielded directly. For native coroutines, use IOLoop web.Application([ (r"/static/(.*)", web.StaticFileHandler, {"path": "/var/www"}), ]) We support virtual hosts with the add_handlers method, which takes in a host regular expression as the first argument: IOLoop). This distinction is not present in asyncio, so in order to facilitate integration with that package instance() was changed to be an alias to current(). Applications using the cross-thread communications0 码力 | 268 页 | 1.09 MB | 1 年前3
共 20 条
- 1
- 2