Module payload

Source
Expand description

Commonly used payload types.

Structs§

Attachment
A binary payload for download file.
Base64
A binary payload encoded with base64.
Binary
A binary payload.
EventStream
An event stream payload.
Form
A url encoded form payload.
Html
A UTF8 html payload.
Json
A JSON payload.
PlainText
A UTF8 string payload.
Response
A response type wrapper.
Xml
A XML payload.
Yaml
A YAML payload.

Enums§

AttachmentType
Attachment type

Traits§

ParsePayload
Represents a payload that can parse from HTTP request.
Payload
Represents a payload type.