Function jsonrpc_client_transports::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
TClient: From<RpcChannel>,
TMiddleware: Middleware<LocalMeta>,
THandler: Deref<Target = MetaIoHandler<LocalMeta, TMiddleware>>,
Connects with pubsub specifying a custom middleware implementation.