Skip to main content

RUNTIME_PROTOCOL

Constant RUNTIME_PROTOCOL 

Source
pub const RUNTIME_PROTOCOL: &str = "topcoat-runtime";
Available on crate feature router only.
Expand description

The WebSocket subprotocol for runtime connections.

Request this subprotocol at a page’s URL to open a connection through RuntimeLayer. The browser can then request renders and receive the content as frames. WebSocket connections require a native server.