Function actix_web::test::default_service [−][src]
pub fn default_service(
status_code: StatusCode
) -> impl Service<Request = ServiceRequest, Response = ServiceResponse<Body>, Error = Error>
Expand description
Create service that responds with response with specified status code