Function re_sdk::web_viewer::new_sink

source ·
pub fn new_sink(
    open_browser: bool,
    bind_ip: &str,
    web_port: WebViewerServerPort,
    ws_port: RerunServerPort,
    server_memory_limit: MemoryLimit
) -> Result<Box<dyn LogSink>, WebViewerSinkError>
Expand description

Serve log-data over WebSockets and serve a Rerun web viewer over HTTP.

If the open_browser argument is true, your default browser will be opened with a connected web-viewer.

If not, you can connect to this server using the rerun binary (cargo install rerun-cli --locked).

NOTE: you can not connect one Session to another.

This function returns immediately.