Crate re_ws_comms

Crate re_ws_comms 

Source
Expand description

Communications between server and viewer.

§Feature flags

  • client — Enable the client (viewer-side).
  • server — Enable the server.
  • tls — Enable encryption using TLS support (wss://).

Structs§

RerunServer
Websocket host for relaying LogMsgs to a web viewer.
RerunServerPort
Typed port for use with RerunServer

Enums§

RerunServerError
Failure to host the Rerun WebSocket server.

Constants§

DEFAULT_WS_SERVER_PORT
PROTOCOL

Functions§

decode_log_msg
encode_log_msg
server_url
Add a protocol (ws:// or wss://) to the given address.
viewer_to_server
Connect viewer to server