Struct http_serve::StreamingBodyBuilder [−][src]
pub struct StreamingBodyBuilder { /* fields omitted */ }Methods
impl StreamingBodyBuilder[src]
impl StreamingBodyBuilderpub fn with_chunk_size(self, chunk_size: usize) -> Self[src]
pub fn with_chunk_size(self, chunk_size: usize) -> Selfpub fn with_gzip_level(self, level: u32) -> Self[src]
pub fn with_gzip_level(self, level: u32) -> Selfpub fn build<P, D, E>(self) -> (Response<P>, Option<BodyWriter<D, E>>) where
D: From<Vec<u8>> + Send,
E: Send,
P: From<Box<Stream<Item = D, Error = E> + Send>>, [src]
pub fn build<P, D, E>(self) -> (Response<P>, Option<BodyWriter<D, E>>) where
D: From<Vec<u8>> + Send,
E: Send,
P: From<Box<Stream<Item = D, Error = E> + Send>>, Auto Trait Implementations
impl Send for StreamingBodyBuilder
impl Send for StreamingBodyBuilderimpl Sync for StreamingBodyBuilder
impl Sync for StreamingBodyBuilder