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.