pub fn connect_with_pubsub_and_middleware<TClient, THandler, TMiddleware>(
handler: THandler
) -> (TClient, impl Future<Output = RpcResult<()>>)where
TClient: From<RpcChannel>,
TMiddleware: Middleware<LocalMeta> + Unpin,
THandler: Deref<Target = MetaIoHandler<LocalMeta, TMiddleware>> + Unpin,
Expand description
Connects with pubsub specifying a custom middleware implementation.