[][src]Function actix_web::test::default_service

pub fn default_service(
    status_code: StatusCode
) -> impl Service<Request = ServiceRequest, Response = ServiceResponse<Body>, Error = Error>

Create service that responds with response with specified status code