Skip to main content

is_server_error

Function is_server_error 

Source
pub fn is_server_error(code: u16) -> bool
Expand description

Whether code is one of the server errors (500 through 599) after which RFC 8489 section 6.3.4 lets a client resend its request.