oa_gateway_owp::server

Function error_response

Source
fn error_response(status: StatusCode, reason: &'static str) -> ErrorResponse
Expand description

A handshake rejection with status and a short reason line.