Tornado 6.4 Documentation
urljoin, urldefrag from tornado import gen, httpclient, queues base_url = "http://www.tornadoweb.org/en/stable/" concurrency = 10 (continues on next page) 20 Chapter 6. Documentation Tornado Documentation made absolute so, e.g. the URL 'gen.html#tornado.gen.coroutine' becomes 'http://www.tornadoweb.org/en/stable/gen.html'. """ response = await httpclient.AsyncHTTPClient().fetch(url) print("fetched %s" % available as self.locale in the request handler and as locale in templates. The name of the locale (e.g., en_US) is available as locale.name, and you can translate strings with the Locale.translate method. Templates0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
urljoin, urldefrag from tornado import gen, httpclient, queues base_url = "http://www.tornadoweb.org/en/stable/" concurrency = 10 (continues on next page) 20 Chapter 6. Documentation Tornado Documentation made absolute so, e.g. the URL 'gen.html#tornado.gen.coroutine' becomes 'http://www.tornadoweb.org/en/stable/gen.html'. """ response = await httpclient.AsyncHTTPClient().fetch(url) print("fetched %s" % available as self.locale in the request handler and as locale in templates. The name of the locale (e.g., en_US) is available as locale.name, and you can translate strings with the Locale.translate method. Templates0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
urljoin, urldefrag from tornado import gen, httpclient, queues base_url = "http://www.tornadoweb.org/en/stable/" concurrency = 10 (continues on next page) 20 Chapter 6. Documentation Tornado Documentation made absolute so, e.g. the URL 'gen.html#tornado.gen.coroutine' becomes 'http://www.tornadoweb.org/en/stable/gen.html'. """ response = await httpclient.AsyncHTTPClient().fetch(url) print("fetched %s" % available as self.locale in the request handler and as locale in templates. The name of the locale (e.g., en_US) is available as locale.name, and you can translate strings with the Locale.translate method. Templates0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.5 Documentationurljoin, urldefrag from tornado import gen, httpclient, queues base_url = "http://www.tornadoweb.org/en/stable/" concurrency = 10 (continues on next page) 20 Chapter 6. DocumentationTornado Documentation made absolute so, e.g. the URL 'gen.html#tornado.gen.coroutine' becomes 'http://www.tornadoweb.org/en/stable/gen.html'. """ response = await httpclient.AsyncHTTPClient().fetch(url) print("fetched %s" % available as self.locale in the request handler and as locale in templates. The name of the locale (e.g., en_US) is available as locale.name, and you can translate strings with the Locale.translate method. Templates0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 6.4 Documentation
FriendFeed [https://en.wikipedia.org/wiki/FriendFeed]. By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long polling [https://en.wikipedia.or org/wiki/Push_technology#Long_polling], WebSockets [https://en.wikipedia.org/wiki/WebSocket], and other applications that require a long-lived connection to each user. Quick links Current version: 6.4 is different from most Python web frameworks. It is not based on WSGI [https://wsgi.readthedocs.io/en/latest/], and it is typically run with only one thread per process. See the User’s guide for more on0 码力 | 432 页 | 402.58 KB | 1 年前3
Tornado 6.4 Documentation
FriendFeed [https://en.wikipedia.org/wiki/FriendFeed]. By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long polling [https://en.wikipedia.or org/wiki/Push_technology#Long_polling], WebSockets [https://en.wikipedia.org/wiki/WebSocket], and other applications that require a long-lived connection to each user. Quick links Current version: 6.4 is different from most Python web frameworks. It is not based on WSGI [https://wsgi.readthedocs.io/en/latest/], and it is typically run with only one thread per process. See the User’s guide for more on0 码力 | 432 页 | 402.58 KB | 1 年前3
Tornado 6.4 Documentation
FriendFeed [https://en.wikipedia.org/wiki/FriendFeed]. By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long polling [https://en.wikipedia.or org/wiki/Push_technology#Long_polling], WebSockets [https://en.wikipedia.org/wiki/WebSocket], and other applications that require a long-lived connection to each user. Quick links Current version: 6.4 is different from most Python web frameworks. It is not based on WSGI [https://wsgi.readthedocs.io/en/latest/], and it is typically run with only one thread per process. See the User’s guide for more on0 码力 | 432 页 | 402.58 KB | 1 年前3
Tornado 6.5 DocumentationFriendFeed [https://en.wikipedia.org/wiki/FriendFeed]. By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long polling [https://en.wikipedia.or org/wiki/Push_technology#Long_polling], WebSockets [https://en.wikipedia.org/wiki/WebSocket], and other applications that require a long-lived connection to each user. Quick links Current version: 6.5 is different from most Python web frameworks. It is not based on WSGI [https://wsgi.readthedocs.io/en/latest/], and it is typically run with only one thread per process. See the User’s guide for more on0 码力 | 437 页 | 405.14 KB | 3 月前3
Tornado 6.3 Documentation
urljoin, urldefrag from tornado import gen, httpclient, queues base_url = "http://www.tornadoweb.org/en/stable/" concurrency = 10 (continues on next page) 20 Chapter 6. Documentation Tornado Documentation made absolute so, e.g. the URL 'gen.html#tornado.gen.coroutine' becomes 'http://www.tornadoweb.org/en/stable/gen.html'. """ response = await httpclient.AsyncHTTPClient().fetch(url) print("fetched %s" % available as self.locale in the request handler and as locale in templates. The name of the locale (e.g., en_US) is available as locale.name, and you can translate strings with the Locale.translate method. Templates0 码力 | 264 页 | 1.06 MB | 1 年前3
Tornado 6.2 Documentation
urljoin, urldefrag from tornado import gen, httpclient, queues base_url = "http://www.tornadoweb.org/en/stable/" concurrency = 10 (continues on next page) 20 Chapter 6. Documentation Tornado Documentation made absolute so, e.g. the URL 'gen.html#tornado.gen.coroutine' becomes 'http://www.tornadoweb.org/en/stable/gen.html'. """ response = await httpclient.AsyncHTTPClient().fetch(url) print("fetched %s" % available as self.locale in the request handler and as locale in templates. The name of the locale (e.g., en_US) is available as locale.name, and you can translate strings with the Locale.translate method. Templates0 码力 | 260 页 | 1.06 MB | 1 年前3
共 20 条
- 1
- 2













