Function httptest::responders::status_code
source · pub fn status_code(code: u16) -> ResponseBuilder<&'static str>
Expand description
respond with the provided status code and an empty body.
pub fn status_code(code: u16) -> ResponseBuilder<&'static str>
respond with the provided status code and an empty body.