Body

Trait Body 

Source
pub trait Body {
    // Required method
    fn write_body(&self, req: RequestBuilder) -> RequestBuilder;
}
Expand description

Body for a request

Required Methods§

Source

fn write_body(&self, req: RequestBuilder) -> RequestBuilder

Write body to request builder and return request builder

Implementations on Foreign Types§

Source§

impl Body for ()

Implementors§

Source§

impl<T: BodyExt> Body for T