Searched refs:append_header (Results 1 - 4 of 4) sorted by relevance
/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/common/ |
H A D | part.rs | 90 pub(crate) fn append_header<N, V>( 302 /// .append_header("accept", "text/html") 303 /// .append_header("accept", "text/plain"); 305 pub fn append_header<N, V>(mut self, name: N, value: V) -> Self in append_header() functions 313 inner.append_header(name, value)?; in append_header() 478 /// UT test cases for `MimePartBuilder::append_header`. 487 .append_header("accept", "text/html") in ut_mime_part_builder_append_header() 488 .append_header("accept", "text/plain"); in ut_mime_part_builder_append_header()
|
H A D | multi.rs | 166 pub(crate) fn append_header<N, V>( 410 /// .append_header("accept", "text/html") 411 /// .append_header("accept", "text/plain"); 413 pub fn append_header<N, V>(mut self, name: N, value: V) -> Self in append_header() functions 421 inner.append_header(name, value)?; in append_header()
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ |
H A D | request.rs | 188 /// let builder = RequestBuilder::new().append_header("Content-Type", "application/octet-stream"); 190 pub fn append_header(mut self, name: &str, value: &str) -> Self { in append_header() functions 191 self.0 = self.0.append_header(name, value); in append_header() 438 let builder = RequestBuilder::default().append_header("name", "value"); in ut_client_request_builder_default() 443 .append_header("name", "value") in ut_client_request_builder_default()
|
/commonlibrary/rust/ylong_http/ylong_http/src/request/ |
H A D | mod.rs | 37 //! .append_header("ACCEPT", "application/xml") 476 /// .append_header("ACCEPT", "application/xml") 611 /// let request = RequestBuilder::new().append_header("ACCEPT", "text/html"); 613 pub fn append_header<N, V>(mut self, name: N, value: V) -> Self in append_header() functions 708 /// 6. Sets header by calling `RequestBuilder::append_header`. 721 .append_header("ACCEPT", "application/xml") in ut_request_builder_build() 743 /// 6. Sets header by calling `RequestBuilder.append_header`.
|
Completed in 4 milliseconds