macro_rules! implement_content_upload_utils {
($req_type:ty, $payload_type:ty) => { ... };
}Expand description
Variant of implement_utils! for upload-side content endpoints.
The Request struct must have a pub data: Option<Vec<u8>> field
carrying the binary body; the generated impl forwards it through
Utils::content_body() so the service macro can attach it as the
HTTP body when Headers::ContentTypeAppOctetStream is set.