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.
pub async fn serve_on(
tcp_listener: TcpListener,
config: ServerConfig,
api_handle: ApiHandle,
) -> Result<()>Configures a server that handles JSON-RPC calls via HTTP and WS.