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<Item = (), Error = RpcError>) where
    THandler: Deref<Target = MetaIoHandler<Arc<Session>, TMiddleware>>,
    TMiddleware: Middleware<Arc<Session>>,
    TClient: From<RpcChannel>, 

Connects with pubsub specifying a custom middleware implementation.