What’s new in PyWebIO 1.2
2021 3/18
Highlights
Websocket连接可以通过在
start_server()中设定reconnect_timeout参数来支持连接重连。添加
path_deploy(),path_deploy_http()和pywebio-path-deploy命令来实现从目录中加载运行PyWebIO应用。所有的文档和示例都提供了英文版本。
为一些输出相关的函数提供上下文管理器的支持,参见 output functions list 。
Detailed changes
添加
put_info(),put_error(),put_warning(),put_success()来显示提示消息。添加
pywebio.utils.pyinstaller_datas()来获得使用pyinstaller打包PyWebIO应用所需要的数据文件。添加使用pyg2plot进行数据可视化的文档。
output()的reset(),append(),insert()方法接受任意类型作为输出内容。start_server()中添加static_dir参数来托管静态文件。当用户使用IE浏览器时提示浏览器不被支持。