[][src]Trait conjure_http::server::Response

pub trait Response<W> {
    fn accept<V>(self, visitor: V) -> Result<V::Output, Error>
    where
        V: VisitResponse<BinaryWriter = W>
; }

An HTTP response.

Required methods

fn accept<V>(self, visitor: V) -> Result<V::Output, Error> where
    V: VisitResponse<BinaryWriter = W>, 

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

Loading content...

Implementors

Loading content...