Searched refs:trailer (Results 1 - 4 of 4) sorted by relevance
/commonlibrary/rust/ylong_http/ylong_http/src/body/ |
H A D | chunk.rs | 80 trailer: EncodeTrailer, 127 trailer: EncodeTrailer::new(), in from_bytes() 160 trailer: EncodeTrailer::new(), in from_reader() 190 trailer: EncodeTrailer::new(), in from_async_reader() 391 match self.trailer.encode(src.as_slice(), dst) { in trailer_encode() 650 // | trailer-section | 811 trailer: Option<&'a [u8]>, 851 /// Get the trailer. 852 pub fn trailer(&self) -> Option<&[u8]> { in trailer() functions 853 self.trailer in trailer() [all...] |
H A D | mod.rs | 25 //! a sequence of data chunks, one zero-length chunk, and a trailer section — 28 //! chunked framing syntax, nor the trailer fields. 158 /// Gets trailer headers. 159 fn trailer(&mut self) -> Result<Option<Headers>, Self::Error> { in trailer() functions 298 /// Gets trailer headers. 306 /// Returns a future that reads part of the trailer data, returning the 313 /// If the trailer has been completely read, headers will be returned. 316 /// If return none, means trailer is empty. 319 /// An error occurred while reading trailer data. 328 /// // Chunk body contain trailer dat 348 fn trailer<'a>(&'a mut self) -> TrailerFuture<'a, Self> trailer() functions [all...] |
/commonlibrary/rust/ylong_http/ylong_http_client/tests/ |
H A D | sdv_async_http_body_io.rs | 93 let res = resp.body_mut().trailer().await.unwrap().unwrap(); in sdv_body_chunk_and_trailer()
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/ |
H A D | http_body.rs | 110 fn trailer(&mut self) -> Result<Option<Headers>, Self::Error> { in trailer() functions 113 HttpClientError::from_str(ErrorKind::BodyDecode, "Get trailer failed") in trailer() 287 if chunk.trailer().is_some() { in merge_chunks()
|
Completed in 3 milliseconds