1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2025-03-06 11:31:15 +00:00

Doc cleanup

This commit is contained in:
Park Joon-Kyu 2024-11-08 13:23:07 +09:00
parent e3f3c055db
commit 5cadd2cec7

View file

@ -64,13 +64,15 @@ impl std::error::Error for DeflateHandshakeError {}
/// Maximum size of client's DEFLATE sliding window.
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
pub enum ClientMaxWindowBits {
/// Unspecified. Indicates server should decide its size.
/// Unspecified. Indicates client will follow server configuration.
NotSpecified,
/// Specified size of client's DEFLATE sliding window size in bits, between 9 and 15.
Specified(u8),
}
/// DEFLATE negotiation parameter. It can be used both client and server side.
/// Per-session DEFLATE configuration parameter.
///
/// It can be used both client and server side.
/// At client side, it can be used to pass desired configuration to server.
/// At server side, negotiated parameter will be sent to client with this.
/// This can be represented in HTTP header form as it implements [`TryIntoHeaderPair`] trait.