Function jsonrpc_core_client::transports::local::connect_with_pubsub_and_middleware [−][src]
pub fn connect_with_pubsub_and_middleware<TClient, THandler, TMiddleware>(
handler: THandler
) -> (TClient, impl Future<Output = Result<(), RpcError>>) where
THandler: Deref<Target = MetaIoHandler<Arc<Session>, TMiddleware>> + Unpin,
TMiddleware: Middleware<Arc<Session>> + Unpin,
TClient: From<RpcChannel>,
Expand description
Connects with pubsub specifying a custom middleware implementation.