Trait jsonrpc_ws_server::MetaExtractor[][src]

pub trait MetaExtractor<M: Metadata>: Send + Sync + 'static {
    fn extract(&self, _context: &RequestContext) -> M;
}
Expand description

Metadata extractor from session data.

Required methods

Extract metadata for given session

Implementors