Server Manager Proxified
- streamlit_pyvista.server_managers.server_manager_proxified.run_trame_viewer(server_port, file_path)[source]
Launch a Trame server using python subprocess
- class streamlit_pyvista.server_managers.server_manager_proxified.ServerManagerProxified(host='0.0.0.0', port=8080, proxy_host='127.0.0.1', proxy_port=5000)[source]
Bases:
ServerManagerBaseImplementation of ServerManagerBase that make use of a proxy for remote connection
- init_connection()[source]
This function receive request of clients that require a trame server to display meshes. It’s in this class that we need by any means start a trame server and get its endpoints :returns: A response containing a json with all required endpoint for a MeshViewerComponent to work properly :rtype: Response