Searched refs:use_huffman (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/config/ |
H A D | http.rs | 79 use_huffman: bool, field 115 pub(crate) fn set_use_huffman_coding(&mut self, use_huffman: bool) { in set_use_huffman_coding() 116 self.use_huffman = use_huffman; in set_use_huffman_coding() 151 self.use_huffman in use_huffman_coding() 165 use_huffman: true, in default()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/ |
H A D | encoder.rs | 25 use_huffman: bool, field 31 pub(crate) fn new(max_size: usize, use_huffman: bool) -> Self { in new() 35 use_huffman, in new() 52 let size = encoder.encode(dst, self.use_huffman); in encode()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/representation/ |
H A D | encoder.rs | 65 pub(crate) fn encode(&mut self, dst: &mut [u8], use_huffman: bool) -> usize { in encode() 96 Indexing::new(index, v.into_bytes(), use_huffman).encode(&mut dst[cur..]) in encode() 104 use_huffman, in encode()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/ |
H A D | dispatcher.rs | 328 use_huffman: bool, in launch() 342 let encoder = FrameEncoder::new(DEFAULT_MAX_FRAME_SIZE, use_huffman); in launch()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ |
H A D | client.rs | 565 pub fn use_huffman_coding(mut self, use_huffman: bool) -> Self { in use_huffman_coding() 566 self.http.http2_config.set_use_huffman_coding(use_huffman); in use_huffman_coding()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/ |
H A D | encoder.rs | 115 pub fn new(max_frame_size: usize, use_huffman: bool) -> Self { in new() 120 hpack_encoder: HpackEncoder::new(DEFAULT_HEADER_TABLE_SIZE, use_huffman), in new()
|