Skip to main content

serialize_body

Function serialize_body 

Source
fn serialize_body(json_body: &CanonicalJsonValue) -> Bytes
Expand description

Serializes a canonical body directly into the HTTP byte buffer.

Canonical JSON values are always serializable, including restored UIA bodies.