Function jsonrpc_core_client::transports::local::connect_with_metadata_and_middleware[][src]

pub fn connect_with_metadata_and_middleware<TClient, THandler, TMetadata, TMiddleware>(
    handler: THandler,
    meta: TMetadata
) -> (TClient, impl Future<Item = (), Error = RpcError>) where
    THandler: Deref<Target = MetaIoHandler<TMetadata, TMiddleware>>,
    TMetadata: Metadata,
    TMiddleware: Middleware<TMetadata>,
    TClient: From<RpcChannel>, 

Connects to a Deref<Target = MetaIoHandler<Metadata> specifying a custom middleware implementation.