Skip to main content

serve_with_options

Function serve_with_options 

Source
pub async fn serve_with_options<C, B>(
    conn: C,
    bus: B,
    ingress: IngressSocket,
    path: SessionPath,
    webrtc: Option<Arc<dyn WebRtcSignaling>>,
    options: ServeOptions,
) -> Result<(), SessionEnd>
where C: SessionStreams + 'static, B: HostBus + 'static,
Expand description

Like serve, with optional registry and wire socket via ServeOptions.