Struct jsonrpc_ws_server::RequestContext [−][src]
pub struct RequestContext { pub session_id: SessionId, pub origin: Option<Origin>, pub protocols: Vec<String>, pub out: Sender, pub executor: TaskExecutor, }
Request context
Fields
session_id: SessionId
Session id
origin: Option<Origin>
Request Origin
protocols: Vec<String>
Requested protocols
out: Sender
Direct channel to send messages to a client.
executor: TaskExecutor
Remote to underlying event loop.
Implementations
impl RequestContext
[src]
impl RequestContext
[src]