Module body
Expand description
module in function of extractors for Request
bodies
Structs§
- Body
- Extractor to get the response body.
- Bytes
- Extractor to get the response body, collected as
Bytes
. - Bytes
Rejection - Rejection type used when the
Bytes
extractor fails to collect the request body. - Csv
- Wrapper used to create Csv Http
Response
s, as well as to extract Csv from HttpRequest
bodies. - Failed
ToDeserialize Csv - Rejection type used if the
Csv
deserialize the payload into the target type. - Failed
ToDeserialize Form - Rejection type used if the
Form
deserialize the form into the target type. - Failed
ToDeserialize Json - Rejection type used if the
Json
deserialize the payload into the target type. - Form
- Wrapper used to create Form Http
Response
s, as well as to extract Form from HttpRequest
bodies. - Invalid
CsvContent Type - Rejection type for
Csv
used if theContent-Type
header is missing or its value is nottext/csv
. - Invalid
Form Content Type - Rejection type for
Form
used if theContent-Type
header is missing or its value is notapplication/x-www-form-urlencoded
. - Invalid
Json Content Type - Rejection type for
Json
used if theContent-Type
header is missing or its value is notapplication/json
. - Invalid
Text Content Type - Rejection type for
Text
used if theContent-Type
header is missing or its value is nottext/plain
. - Invalid
Utf8 Text - Rejection type used if the
Text
was not valid UTF-8. - Json
- Wrapper used to create Json Http
Response
s, as well as to extract Json from HttpRequest
bodies. - Text
- Extractor to get the response body, collected as
String
.
Enums§
- CsvRejection
- Rejection used for
Csv
- Form
Rejection - Rejection used for
Form
- Json
Rejection - Rejection used for
Json
- Text
Rejection - Rejection used for
Text