Trait jsonrpc_http_server::MetaExtractor[][src]

pub trait MetaExtractor<M: Metadata>: Sync + Send + 'static {
    fn read_metadata(&self, _: &Request<Body>) -> M;
}
Expand description

Extracts metadata from the HTTP request.

Required methods

Read the metadata from the request

Implementors