Function sc_rpc_server::rpc_handler [−][src]
pub fn rpc_handler<M: PubSubMetadata>(
extension: impl IoHandlerExtension<M>,
rpc_middleware: RpcMiddleware
) -> RpcHandler<M>
Expand description
Construct rpc IoHandler
pub fn rpc_handler<M: PubSubMetadata>(
extension: impl IoHandlerExtension<M>,
rpc_middleware: RpcMiddleware
) -> RpcHandler<M>
Construct rpc IoHandler