Searched refs:Authority (Results 1 – 8 of 8) sorted by relevance
/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/ |
D | table.rs | 243 1 => Some(Header::Authority), in header_name() 327 (Header::Authority, _) => Some(TableIndex::HeaderName(1)), in index() 403 Authority, enumerator 415 Header::Authority => 10, in len() 430 Header::Authority => String::from(":authority"), in into_string() 469 table.update(Header::Authority, String::from("Authority")); in ut_dynamic_table_header_name() 471 Some(Header::Authority) => {} in ut_dynamic_table_header_name() 488 table.update(Header::Authority, String::from("Authority")); in ut_dynamic_table_header() 490 Some((Header::Authority, x)) if x == *"Authority" => {} in ut_dynamic_table_header() 504 table.update(Header::Authority, String::from("Authority")); in ut_dynamic_table_update() [all …]
|
D | encoder.rs | 129 Header::Authority, in ut_hpack_encoder() 145 Header::Authority, in ut_hpack_encoder() 163 Header::Authority, in ut_hpack_encoder()
|
D | decoder.rs | 366 { 57, Authority => "www.example.com" } in ut_hpack_decoder() 375 { 110, "cache-control" => "no-cache", Authority => "www.example.com" } in ut_hpack_decoder() 384 …{ 164, "custom-key" => "custom-value", "cache-control" => "no-cache", Authority => "www.example.co… in ut_hpack_decoder() 396 { 57, Authority => "www.example.com" } in ut_hpack_decoder() 405 { 110, "cache-control" => "no-cache", Authority => "www.example.com" } in ut_hpack_decoder() 414 …{ 164, "custom-key" => "custom-value", "cache-control" => "no-cache", Authority => "www.example.co… in ut_hpack_decoder()
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/ |
D | pool.rs | 21 use ylong_http::request::uri::{Authority, Scheme}; 49 pub(crate) struct PoolKey(Scheme, Authority); 52 pub(crate) fn new(scheme: Scheme, authority: Authority) -> Self { in new()
|
D | proxy.rs | 20 use ylong_http::request::uri::{Authority, Scheme, Uri}; 151 pub(crate) authority: Authority, 176 pub(crate) fn authority(&self) -> &Authority { in authority() argument
|
/commonlibrary/rust/ylong_http/ylong_http/src/request/ |
D | uri.rs | 79 authority: Option<Authority>, 144 pub fn authority(&self) -> Option<&Authority> { in authority() argument 287 Option<Authority>, in into_parts() argument 408 Authority: TryFrom<T>, in authority() 409 InvalidUri: From<<Authority as TryFrom<T>>::Error>, in authority() 584 pub struct Authority { struct 589 impl Authority { implementation 599 pub fn from_bytes(bytes: &[u8]) -> Result<Authority, InvalidUri> { in from_bytes() argument 676 impl<'a> TryFrom<&'a [u8]> for Authority { implementation 680 Authority::from_bytes(bytes) in try_from() [all …]
|
/commonlibrary/rust/ylong_http/ylong_http/src/h2/ |
D | parts.rs | 50 Header::Authority => self.pseudo.set_authority(Some(value)), in update()
|
/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/representation/ |
D | encoder.rs | 156 Authority, enumerator 193 None => self.next_type = PartsIterDirection::Authority, in next() 195 PartsIterDirection::Authority => match self.pseudo.take_authority() { in next() 196 Some(value) => return Some((Header::Authority, value)), in next()
|