Function sc_rpc_server::start_http [−][src]
pub fn start_http<M: PubSubMetadata + Default>(
addr: &SocketAddr,
cors: Option<&Vec<String>>,
io: RpcHandler<M>
) -> Result<Server>
Start HTTP server listening on given address.
Note: Only available if not(target_os = "unknown")
.