Skip to main content

serve_on

Function serve_on 

Source
pub async fn serve_on(
    tcp_listener: TcpListener,
    config: ServerConfig,
    api_handle: ApiHandle,
) -> Result<()>
Expand description

Configures a server that handles JSON-RPC calls via HTTP and WS.