pub fn build_body(
object: &impl Serialize,
ty: RequestType,
) -> Result<Vec<u8>, ClientError>
Expand description
Builds a request body by serializing an object using a serializer determined by the RequestType.
pub fn build_body(
object: &impl Serialize,
ty: RequestType,
) -> Result<Vec<u8>, ClientError>
Builds a request body by serializing an object using a serializer determined by the RequestType.