[−][src]Module httptest::responders
Responder implementations.
Reponders determine how the server will respond.
Macros
cycle | a Responder that cycles through a list of responses. |
Structs
Cycle | The |
JsonEncoded | The |
StatusCode | The |
UrlEncoded | The |
Traits
Responder | Respond with an HTTP response. |
Functions
cycle | Cycle through the provided list of responders. |
json_encoded | respond with a body that is the json encoding of data. |
status_code | respond with the provided status code. |
url_encoded | respond with a body that is the url encoding of data. |