Tornado 5.1 Documentation
concurrency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 5.6 Integration with other services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . or yield so that any exceptions have somewhere to go. • Decorated coroutines have additional integration with the concurrent.futures package, allowing the re- sult of executor.submit to be yielded directly dict. Use tornado.gen.multi to do this in native coroutines. • Decorated coroutines can support integration with other packages including Twisted via a registry of conversion functions. To access this functionality0 码力 | 243 页 | 895.80 KB | 1 年前3
Tornado 4.5 Documentation
concurrency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 4.6 Integration with other services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . while in a native coroutine you must wrap the list in tornado.gen.multi. This also eliminates the integration with concurrent.futures. You can use tornado.gen.convert_yielded to convert anything that would custom HTTP header named X-XSRFToken or X-CSRFToken (the latter is accepted for compatibility with Django). See http://en.wikipedia.org/wiki/Cross-site_request_forgery Prior to release 1.1.1, this check0 码力 | 222 页 | 833.04 KB | 1 年前3
Tornado 6.1 Documentation
Authors Oct 31, 2020 Contents 1 Quick links 3 2 Hello, world 5 3 Threads and WSGI 7 4 asyncio Integration 9 5 Installation 11 6 Documentation 13 6.1 User’s guide . . . . . . . . . . . . . . . . . . concurrency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 6.6 Integration with other services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . code. 7 Tornado Documentation, Release 6.1 8 Chapter 3. Threads and WSGI CHAPTER 4 asyncio Integration Tornado is integrated with the standard library asyncio module and shares the same event loop0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 6.0 Documentation
Authors Mar 04, 2020 CONTENTS 1 Quick links 3 2 Hello, world 5 3 Threads and WSGI 7 4 asyncio Integration 9 5 Installation 11 6 Documentation 13 6.1 User’s guide . . . . . . . . . . . . . . . . . . concurrency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 6.6 Integration with other services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Tornado Documentation, Release 6.0.4 8 Chapter 3. Threads and WSGI CHAPTER FOUR ASYNCIO INTEGRATION Tornado is integrated with the standard library asyncio module and shares the same event loop0 码力 | 245 页 | 885.76 KB | 1 年前3
Tornado 6.2 Documentation
Authors Jul 03, 2022 CONTENTS 1 Quick links 3 2 Hello, world 5 3 Threads and WSGI 7 4 asyncio Integration 9 5 Installation 11 6 Documentation 13 6.1 User’s guide . . . . . . . . . . . . . . . . . . concurrency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 6.6 Integration with other services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Tornado Documentation, Release 6.2 8 Chapter 3. Threads and WSGI CHAPTER FOUR ASYNCIO INTEGRATION Tornado is integrated with the standard library asyncio module and shares the same event loop0 码力 | 260 页 | 1.06 MB | 1 年前3
Tornado 5.1 Documentation
primitives tornado.queues – Queues for coroutines tornado.process — Utilities for multiple processes Integration with other services tornado.auth — Third-party login with OpenID and OAuth tornado.wsgi — Interoperability await or yield so that any exceptions have somewhere to go. Decorated coroutines have additional integration with the concurrent.futures [https://docs.python.org/3.6/library/concurrent.futures.html#module-concurrent dict. Use tornado.gen.multi to do this in native coroutines. Decorated coroutines can support integration with other packages including Twisted via a registry of conversion functions. To access this functionality0 码力 | 359 页 | 347.32 KB | 1 年前3
Tornado 6.4 Documentation
Authors Jan 12, 2024 CONTENTS 1 Quick links 3 2 Hello, world 5 3 Threads and WSGI 7 4 asyncio Integration 9 5 Installation 11 6 Documentation 13 6.1 User’s guide . . . . . . . . . . . . . . . . . . concurrency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 6.6 Integration with other services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Tornado Documentation, Release 6.4 8 Chapter 3. Threads and WSGI CHAPTER FOUR ASYNCIO INTEGRATION Tornado is integrated with the standard library asyncio module and shares the same event loop0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
Authors Nov 29, 2023 CONTENTS 1 Quick links 3 2 Hello, world 5 3 Threads and WSGI 7 4 asyncio Integration 9 5 Installation 11 6 Documentation 13 6.1 User’s guide . . . . . . . . . . . . . . . . . . concurrency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 6.6 Integration with other services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Tornado Documentation, Release 6.4 8 Chapter 3. Threads and WSGI CHAPTER FOUR ASYNCIO INTEGRATION Tornado is integrated with the standard library asyncio module and shares the same event loop0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
Authors Nov 29, 2023 CONTENTS 1 Quick links 3 2 Hello, world 5 3 Threads and WSGI 7 4 asyncio Integration 9 5 Installation 11 6 Documentation 13 6.1 User’s guide . . . . . . . . . . . . . . . . . . concurrency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 6.6 Integration with other services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Tornado Documentation, Release 6.4 8 Chapter 3. Threads and WSGI CHAPTER FOUR ASYNCIO INTEGRATION Tornado is integrated with the standard library asyncio module and shares the same event loop0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.3 Documentation
Authors Aug 11, 2023 CONTENTS 1 Quick links 3 2 Hello, world 5 3 Threads and WSGI 7 4 asyncio Integration 9 5 Installation 11 6 Documentation 13 6.1 User’s guide . . . . . . . . . . . . . . . . . . concurrency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 6.6 Integration with other services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Tornado Documentation, Release 6.3.3 8 Chapter 3. Threads and WSGI CHAPTER FOUR ASYNCIO INTEGRATION Tornado is integrated with the standard library asyncio module and shares the same event loop0 码力 | 264 页 | 1.06 MB | 1 年前3
共 20 条
- 1
- 2













