__init__.py 786 B

12345678910111213141516171819202122232425262728293031
  1. r"""
  2. ``platform`` 模块为PyWebIO提供了对不同Web框架的支持。
  3. Tornado相关
  4. --------------
  5. .. autofunction:: start_server
  6. .. autofunction:: pywebio.platform.tornado.webio_handler
  7. Flask相关
  8. --------------
  9. .. autofunction:: pywebio.platform.flask.webio_view
  10. .. autofunction:: pywebio.platform.flask.start_server
  11. Django相关
  12. --------------
  13. .. autofunction:: pywebio.platform.django.webio_view
  14. .. autofunction:: pywebio.platform.django.start_server
  15. aiohttp相关
  16. --------------
  17. .. autofunction:: pywebio.platform.aiohttp.webio_handler
  18. .. autofunction:: pywebio.platform.aiohttp.static_routes
  19. .. autofunction:: pywebio.platform.aiohttp.start_server
  20. 其他
  21. --------------
  22. .. autofunction:: pywebio.platform.httpbased.run_event_loop
  23. """
  24. from .tornado import start_server