Skip to main content

encode_request

Function encode_request 

Source
pub async fn encode_request<B>(req: Request<B>) -> Result<Bytes>
where B: Body<Data = Bytes> + Send, B::Error: Error + Send + Sync + 'static,
Expand description

Encode a hyper Request to MessagePack bytes.