Add a setter for header_table_size
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,10 +1,11 @@
|
|||||||
target
|
target
|
||||||
Cargo.lock
|
Cargo.lock
|
||||||
h2spec
|
h2spec
|
||||||
|
.history
|
||||||
|
|
||||||
# These are backup files generated by rustfmt
|
# These are backup files generated by rustfmt
|
||||||
**/*.rs.bk
|
**/*.rs.bk
|
||||||
|
|
||||||
# Files generated by honggfuzz
|
# Files generated by honggfuzz
|
||||||
hfuzz_target
|
hfuzz_target
|
||||||
hfuzz_workspace
|
hfuzz_workspace
|
||||||
@@ -1022,6 +1022,12 @@ impl Builder {
|
|||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Sets the header table size
|
||||||
|
pub fn header_table_size(&mut self, size: u32) -> &mut Self {
|
||||||
|
self.settings.set_header_table_size(Some(size));
|
||||||
|
self
|
||||||
|
}
|
||||||
|
|
||||||
/// Sets the first stream ID to something other than 1.
|
/// Sets the first stream ID to something other than 1.
|
||||||
#[cfg(feature = "unstable")]
|
#[cfg(feature = "unstable")]
|
||||||
pub fn initial_stream_id(&mut self, stream_id: u32) -> &mut Self {
|
pub fn initial_stream_id(&mut self, stream_id: u32) -> &mut Self {
|
||||||
|
|||||||
Reference in New Issue
Block a user