Add a setter for header_table_size
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,10 +1,11 @@
|
||||
target
|
||||
Cargo.lock
|
||||
h2spec
|
||||
.history
|
||||
|
||||
# These are backup files generated by rustfmt
|
||||
**/*.rs.bk
|
||||
|
||||
# Files generated by honggfuzz
|
||||
hfuzz_target
|
||||
hfuzz_workspace
|
||||
hfuzz_workspace
|
||||
@@ -1022,6 +1022,12 @@ impl Builder {
|
||||
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.
|
||||
#[cfg(feature = "unstable")]
|
||||
pub fn initial_stream_id(&mut self, stream_id: u32) -> &mut Self {
|
||||
|
||||
Reference in New Issue
Block a user