PyWebIO v1.0.3 使用手册Tornado相关 Flask相关 Django相关 aiohttp相关 其他 第三方库生态 数据可视化 示例Demos 基本demo 数据可视化demo 其他 常用的Codemirror选项 Nginx WebSocket配置示例 常见问题 Release notes What’s new in PyWebIO 1.0 What’s new in PyWebIO 0.3 What’s new 即可打开PyWebIO应 用 注意 当使用Tornado后端时,PyWebIO使用WebSocket协议和浏览器进行通 讯,如果你的Tornado应用处在反向代理(比如Nginx)之后, 可能需要特 别配置反向代理来支持WebSocket协议,这里 有一个Nginx配置 WebSocket的例子。 需要添加两个PyWebIO相关的路由:一个用来提供前端静态文件,另一个 用来和浏览器进行Http通讯: from pywebio 供的静态文件服 务。 但出于性能考虑,托管静态文件最好的方式是使用 反向代理 [https://en.wikipedia.org/wiki/Reverse_proxy] (比如 nginx [https://nginx.org/] ) 或者 CDN [https://en.wikipedia.org/wiki/Content_delivery_network] 服务。 前端页面和后端接口的路径约定0 码力 | 106 页 | 7.34 MB | 1 年前3
PyWebIO v1.3.2 Documentationvisualization Demos Basic demos Data visualization demos Miscellaneous Commonly used Codemirror options Nginx WebSocket Config Example FAQ Release notes What’s new in PyWebIO 1.3 What’s new in PyWebIO 1.2 What’s application is behind a reverse proxy (such as Nginx), you may need to configure the reverse proxy to support the WebSocket protocol. Here is an example of Nginx WebSocket configuration. Use pywebio.platform aiohttp server is behind a reverse proxy (such as Nginx), you may need to configure the reverse proxy to support the WebSocket protocol. Here is an example of Nginx WebSocket configuration. Use pywebio.platform0 码力 | 133 页 | 7.44 MB | 1 年前3
PyWebIO v1.3.0 Documentationvisualization Demos Basic demos Data visualization demos Miscellaneous Commonly used Codemirror options Nginx WebSocket Config Example FAQ Release notes What’s new in PyWebIO 1.3 What’s new in PyWebIO 1.2 What’s application is behind a reverse proxy (such as Nginx), you may need to configure the reverse proxy to support the WebSocket protocol. Here is an example of Nginx WebSocket configuration. Use pywebio.platform aiohttp server is behind a reverse proxy (such as Nginx), you may need to configure the reverse proxy to support the WebSocket protocol. Here is an example of Nginx WebSocket configuration. Use pywebio.platform0 码力 | 133 页 | 7.44 MB | 1 年前3
PyWebIO v1.3.1 Documentationvisualization Demos Basic demos Data visualization demos Miscellaneous Commonly used Codemirror options Nginx WebSocket Config Example FAQ Release notes What’s new in PyWebIO 1.3 What’s new in PyWebIO 1.2 What’s application is behind a reverse proxy (such as Nginx), you may need to configure the reverse proxy to support the WebSocket protocol. Here is an example of Nginx WebSocket configuration. Use pywebio.platform aiohttp server is behind a reverse proxy (such as Nginx), you may need to configure the reverse proxy to support the WebSocket protocol. Here is an example of Nginx WebSocket configuration. Use pywebio.platform0 码力 | 133 页 | 7.44 MB | 1 年前3
PyWebIO v1.3.3 Documentationvisualization Demos Basic demos Data visualization demos Miscellaneous Commonly used Codemirror options Nginx WebSocket Config Example FAQ Release notes What’s new in PyWebIO 1.3 What’s new in PyWebIO 1.2 What’s application is behind a reverse proxy (such as Nginx), you may need to configure the reverse proxy to support the WebSocket protocol. Here is an example of Nginx WebSocket configuration. Use pywebio.platform aiohttp server is behind a reverse proxy (such as Nginx), you may need to configure the reverse proxy to support the WebSocket protocol. Here is an example of Nginx WebSocket configuration. Use pywebio.platform0 码力 | 133 页 | 7.44 MB | 1 年前3
PyWebIO v1.3.3 Documentationapplication is behind a reverse proxy (such as Nginx), you may need to configure the reverse proxy to support the WebSocket protocol. Here is an example of Nginx WebSocket configuration. Flask Use pywebio aiohttp server is behind a reverse proxy (such as Nginx), you may need to configure the reverse proxy to support the WebSocket protocol. Here is an example of Nginx WebSocket configuration. FastAPI/Starlette your server is behind a reverse proxy (such as Nginx), you may need to configure the reverse proxy to support the WebSocket protocol. Here is an example of Nginx WebSocket configuration. Notes Deployment0 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.3.1 Documentationapplication is behind a reverse proxy (such as Nginx), you may need to configure the reverse proxy to support the WebSocket protocol. Here is an example of Nginx WebSocket configuration. Flask Use pywebio aiohttp server is behind a reverse proxy (such as Nginx), you may need to configure the reverse proxy to support the WebSocket protocol. Here is an example of Nginx WebSocket configuration. FastAPI/Starlette your server is behind a reverse proxy (such as Nginx), you may need to configure the reverse proxy to support the WebSocket protocol. Here is an example of Nginx WebSocket configuration. Notes Deployment0 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.3.0 Documentationapplication is behind a reverse proxy (such as Nginx), you may need to configure the reverse proxy to support the WebSocket protocol. Here is an example of Nginx WebSocket configuration. Flask Use pywebio aiohttp server is behind a reverse proxy (such as Nginx), you may need to configure the reverse proxy to support the WebSocket protocol. Here is an example of Nginx WebSocket configuration. FastAPI/Starlette your server is behind a reverse proxy (such as Nginx), you may need to configure the reverse proxy to support the WebSocket protocol. Here is an example of Nginx WebSocket configuration. Notes Deployment0 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.3.2 Documentationapplication is behind a reverse proxy (such as Nginx), you may need to configure the reverse proxy to support the WebSocket protocol. Here is an example of Nginx WebSocket configuration. Flask Use pywebio aiohttp server is behind a reverse proxy (such as Nginx), you may need to configure the reverse proxy to support the WebSocket protocol. Here is an example of Nginx WebSocket configuration. FastAPI/Starlette your server is behind a reverse proxy (such as Nginx), you may need to configure the reverse proxy to support the WebSocket protocol. Here is an example of Nginx WebSocket configuration. Notes Deployment0 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.3.1 使用手册Application Deploy 其他 第三方库生态 构建stand-alone App 数据可视化 示例Demos 基本demo 数据可视化demo 其他 常用的Codemirror选项 Nginx WebSocket配置示例 常见问题 Release notes What’s new in PyWebIO 1.3 What’s new in PyWebIO 1.2 What’s new 应用。 注意 当使用Tornado后端时,PyWebIO使用WebSocket协议和浏览器进行通 讯,如果你的Tornado应用处在反向代理(比如Nginx)之后,可能需要特别 配置反向代理来支持WebSocket协议,这里 有一个Nginx配置WebSocket 的例子。 使用 pywebio.platform.flask.webio_view() 来获取在Flask中运行 PyWebIO应用的视图函数: 即可打开PyWebIO应用 注意 当使用aiohttp后端时,PyWebIO使用WebSocket协议和浏览器进行通讯, 如果你的aiohttp应用处在反向代理(比如Nginx)之后, 可能需要特别配置 反向代理来支持WebSocket协议,这里 有一个Nginx配置WebSocket的例 子。 使用 pywebio.platform.fastapi.webio_routes() 来获取在FastAPI/Starlette0 码力 | 132 页 | 7.45 MB | 1 年前3
共 86 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













