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>>, 
Expand description

Connects with pubsub specifying a custom middleware implementation.