Enum jsonrpc_ws_server::MiddlewareAction [−][src]
pub enum MiddlewareAction { Proceed, Respond { response: Response, validate_origin: bool, validate_hosts: bool, }, }
Expand description
Request middleware action
Variants
Proceed with standard JSON-RPC behaviour.
Terminate the request and return a response.
Show fields
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MiddlewareAction
impl Send for MiddlewareAction
impl Sync for MiddlewareAction
impl Unpin for MiddlewareAction
impl UnwindSafe for MiddlewareAction