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:
parent
e3f3c055db
commit
5cadd2cec7
1 changed files with 5 additions and 3 deletions
|
@ -64,13 +64,15 @@ impl std::error::Error for DeflateHandshakeError {}
|
||||||
/// Maximum size of client's DEFLATE sliding window.
|
/// Maximum size of client's DEFLATE sliding window.
|
||||||
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
|
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
|
||||||
pub enum ClientMaxWindowBits {
|
pub enum ClientMaxWindowBits {
|
||||||
/// Unspecified. Indicates server should decide its size.
|
/// Unspecified. Indicates client will follow server configuration.
|
||||||
NotSpecified,
|
NotSpecified,
|
||||||
/// Specified size of client's DEFLATE sliding window size in bits, between 9 and 15.
|
/// Specified size of client's DEFLATE sliding window size in bits, between 9 and 15.
|
||||||
Specified(u8),
|
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 client side, it can be used to pass desired configuration to server.
|
||||||
/// At server side, negotiated parameter will be sent to client with this.
|
/// 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.
|
/// This can be represented in HTTP header form as it implements [`TryIntoHeaderPair`] trait.
|
||||||
|
|
Loading…
Reference in a new issue