actix_web::test

Function ok_service

source
pub fn ok_service() -> impl Service<ServiceRequest, Response = ServiceResponse<BoxBody>, Error = Error>
Expand description

Creates service that always responds with 200 OK and no body.