Tornado 6.5 Documentation
offer a full-stack alternative to WSGI. While it is possible to use the Tornado HTTP server as a container for other WSGI frameworks (WSGIContainer), this combination has limitations and to take full advantage deploying it is a little different from other Python web frameworks. Instead of configuring a WSGI container to find your application, you write a main() function that starts the server: import asyncio async AI_NUMERICHOST. reuse_port option sets SO_REUSEPORT option for every socket in the list. If your platform doesn’t support this option ValueError will be raised. tornado.netutil.bind_unix_socket(file: str0 码力 | 272 页 | 1.12 MB | 2 月前3Tornado 6.5 Documentation
frameworks and servers tornado.platform.caresresolver — Asynchronous DNS Resolver using C-Ares tornado.platform.twisted — Bridges between Twisted and Tornado tornado.platform.asyncio — Bridge between asyncio [http://www.python.org/dev/peps/pep-3333/]. While it is possible to use the Tornado HTTP server as a container for other WSGI frameworks (WSGIContainer), this combination has limitations and to take full advantage deploying it is a little different from other Python web frameworks. Instead of configuring a WSGI container to find your application, you write a main() function that starts the server: import asyncio0 码力 | 437 页 | 405.14 KB | 2 月前3
共 2 条
- 1
相关搜索词