Function actix_test::default_service[][src]

pub fn default_service(
    status_code: StatusCode
) -> impl Service<ServiceRequest, Response = ServiceResponse<BoxBody>, Error = Error>
Expand description

Create service that always responds with given status code and no body.