Skip to main content

json_body

Function json_body 

Source
pub fn json_body<T: Serialize>(message: &T) -> Result<Vec<u8>, Error>
Expand description

message as a JSON body. The generated clients call it.