Skip to content

feat(http2): configure HTTP/2 frame size in the high-level builders too#2214

Merged
seanmonstar merged 1 commit intohyperium:masterfrom
goffrie:frame-size-again
Jun 3, 2020
Merged

feat(http2): configure HTTP/2 frame size in the high-level builders too#2214
seanmonstar merged 1 commit intohyperium:masterfrom
goffrie:frame-size-again

Conversation

@goffrie
Copy link
Contributor

@goffrie goffrie commented Jun 2, 2020

Oops, I missed this in #2211.

/// Passing `None` will do nothing.
///
/// If not set, hyper will use a default.
pub fn http2_max_frame_size(&mut self, sz: impl Into<Option<u32>>) -> &mut Self {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This builder uses by-value style.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, fixed.

@goffrie goffrie force-pushed the frame-size-again branch from 915f5cf to 5655b0c Compare June 3, 2020 00:50
@seanmonstar seanmonstar merged commit 2354a7e into hyperium:master Jun 3, 2020
BenxiangGe pushed a commit to BenxiangGe/hyper that referenced this pull request Jul 26, 2021
@goffrie goffrie deleted the frame-size-again branch October 26, 2022 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants