PyWebIO v1.2.3 DocumentationDemos Basic demos Data visualization demos Miscellaneous Commonly used Codemirror options Nginx WebSocket Config Example FAQ Release notes What’s new in PyWebIO 1.2 What’s new in PyWebIO 1.1 What’s new webio_handler(task_func) to get the Tornado WebSocketHandler [https://www.tornadoweb.org/en/stable/websocket.html#tornado.websocket.WebSocketHandler] that communicates with the browser, and bind it to the /tool path you can visit http://localhost/tool to open the PyWebIO application. Attention PyWebIO uses the WebSocket protocol to communicate with the browser in Tornado. If your Tornado application is behind a reverse0 码力 | 119 页 | 7.43 MB | 1 年前3
PyWebIO v1.2.2 DocumentationDemos Basic demos Data visualization demos Miscellaneous Commonly used Codemirror options Nginx WebSocket Config Example FAQ Release notes What’s new in PyWebIO 1.2 What’s new in PyWebIO 1.1 What’s new webio_handler(task_func) to get the Tornado WebSocketHandler [https://www.tornadoweb.org/en/stable/websocket.html#tornado.websocket.WebSocketHandler] that communicates with the browser, and bind it to the /tool path you can visit http://localhost/tool to open the PyWebIO application. Attention PyWebIO uses the WebSocket protocol to communicate with the browser in Tornado. If your Tornado application is behind a reverse0 码力 | 119 页 | 7.41 MB | 1 年前3
PyWebIO v1.2.3 使用手册Deploy 其他 第三方库生态 构建stand-alone App 数据可视化 示例Demos 基本demo 数据可视化demo 其他 常用的Codemirror选项 Nginx WebSocket配置示例 常见问题 Release notes What’s new in PyWebIO 1.2 What’s new in PyWebIO 1.1 What’s new in PyWebIO tornadoweb.org/en/stable/websocket.html#tornado.websocket.WebSocketHandler] ,并将 其绑定在 /tool 路由下。启动Tornado服务器后,访问 http://localhost/tool 即可打开PyWebIO应用。 注意 当使用Tornado后端时,PyWebIO使用WebSocket协议和浏览器进行通 讯,如果你的Tor 讯,如果你的Tornado应用处在反向代理(比如Nginx)之后,可能需要特别 配置反向代理来支持WebSocket协议,这里 有一个Nginx配置WebSocket 的例子。 需要添加一个PyWebIO相关的路由,用来和浏览器进行Http通讯: from pywebio.platform.flask import webio_view from pywebio import STATIC_PATH from flask0 码力 | 119 页 | 7.44 MB | 1 年前3
PyWebIO v1.2.2 使用手册Deploy 其他 第三方库生态 构建stand-alone App 数据可视化 示例Demos 基本demo 数据可视化demo 其他 常用的Codemirror选项 Nginx WebSocket配置示例 常见问题 Release notes What’s new in PyWebIO 1.2 What’s new in PyWebIO 1.1 What’s new in PyWebIO tornadoweb.org/en/stable/websocket.html#tornado.websocket.WebSocketHandler] ,并将 其绑定在 /tool 路由下。启动Tornado服务器后,访问 http://localhost/tool 即可打开PyWebIO应用。 注意 当使用Tornado后端时,PyWebIO使用WebSocket协议和浏览器进行通 讯,如果你的Tor 讯,如果你的Tornado应用处在反向代理(比如Nginx)之后,可能需要特别 配置反向代理来支持WebSocket协议,这里 有一个Nginx配置WebSocket 的例子。 需要添加一个PyWebIO相关的路由,用来和浏览器进行Http通讯: from pywebio.platform.flask import webio_view from pywebio import STATIC_PATH from flask0 码力 | 119 页 | 7.41 MB | 1 年前3
PyWebIO v1.4.0 Documentationapplications in different ways. There are two protocols (WebSocket and HTTP) can be used in server to communicates with the browser. The WebSocket is used by default. If you want to use HTTP protocol, you (str): The communication protocol between PyWebIO server and browser. The possible values are 'websocket', 'http' request (object): The request object when creating the current session. Depending on the html#aiohttp.web.BaseRequest] When using FastAPI/Starlette, request is instance of starlette.websockets.WebSocket [https://www.starlette.io/websockets/] The user_agent attribute of the session information object0 码力 | 135 页 | 7.45 MB | 1 年前3
PyWebIO v1.6.2 Documentationapplications in different ways. There are two protocols (WebSocket and HTTP) can be used in server to communicates with the browser. The WebSocket is used by default. If you want to use HTTP protocol, you (str): The communication protocol between PyWebIO server and browser. The possible values are 'websocket', 'http' request (object): The request object when creating the current session. Depending on the html#aiohttp.web.BaseRequest] When using FastAPI/Starlette, request is instance of starlette.websockets.WebSocket [https://www.starlette.io/websockets/] The user_agent attribute of the session information object0 码力 | 148 页 | 7.46 MB | 1 年前3
PyWebIO v1.5.1 Documentationapplications in different ways. There are two protocols (WebSocket and HTTP) can be used in server to communicates with the browser. The WebSocket is used by default. If you want to use HTTP protocol, you (str): The communication protocol between PyWebIO server and browser. The possible values are 'websocket', 'http' request (object): The request object when creating the current session. Depending on the html#aiohttp.web.BaseRequest] When using FastAPI/Starlette, request is instance of starlette.websockets.WebSocket [https://www.starlette.io/websockets/] The user_agent attribute of the session information object0 码力 | 144 页 | 7.46 MB | 1 年前3
PyWebIO v1.6.1 Documentationapplications in different ways. There are two protocols (WebSocket and HTTP) can be used in server to communicates with the browser. The WebSocket is used by default. If you want to use HTTP protocol, you (str): The communication protocol between PyWebIO server and browser. The possible values are 'websocket', 'http' request (object): The request object when creating the current session. Depending on the html#aiohttp.web.BaseRequest] When using FastAPI/Starlette, request is instance of starlette.websockets.WebSocket [https://www.starlette.io/websockets/] The user_agent attribute of the session information object0 码力 | 148 页 | 7.46 MB | 1 年前3
PyWebIO v1.6.3 Documentationapplications in different ways. There are two protocols (WebSocket and HTTP) can be used in server to communicates with the browser. The WebSocket is used by default. If you want to use HTTP protocol, you (str): The communication protocol between PyWebIO server and browser. The possible values are 'websocket', 'http' request (object): The request object when creating the current session. Depending on the html#aiohttp.web.BaseRequest] When using FastAPI/Starlette, request is instance of starlette.websockets.WebSocket [https://www.starlette.io/websockets/] The user_agent attribute of the session information object0 码力 | 150 页 | 7.46 MB | 1 年前3
PyWebIO v1.6.0 Documentationapplications in different ways. There are two protocols (WebSocket and HTTP) can be used in server to communicates with the browser. The WebSocket is used by default. If you want to use HTTP protocol, you (str): The communication protocol between PyWebIO server and browser. The possible values are 'websocket', 'http' request (object): The request object when creating the current session. Depending on the html#aiohttp.web.BaseRequest] When using FastAPI/Starlette, request is instance of starlette.websockets.WebSocket [https://www.starlette.io/websockets/] The user_agent attribute of the session information object0 码力 | 148 页 | 7.46 MB | 1 年前3
共 86 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













