Skip to main content

serve_thread

Function serve_thread 

pub fn serve_thread(
    calls: impl Calls,
    addr: &str,
    opts: HttpOptions,
) -> Result<SocketAddr>
Expand description

Serves on a thread of its own, with its own runtime: for engines whose host has no Tokio runtime (the SDKs).