[][src]Trait conjure_http::server::RequestBody

pub trait RequestBody {
type BinaryBody;
    fn accept<V>(self, visitor: V) -> Result<V::Output, Error>
    where
        V: VisitRequestBody<Self::BinaryBody>
; }

An HTTP request body.

Associated Types

type BinaryBody

The binary body type.

Loading content...

Required methods

fn accept<V>(self, visitor: V) -> Result<V::Output, Error> where
    V: VisitRequestBody<Self::BinaryBody>, 

Accepts a visitor, calling the correct method corresponding to this body type.

Loading content...

Implementors

Loading content...