pub trait ConnectionExt: RequestConnection {
    // Provided method
    fn bigreq_enable(
        &self
    ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, EnableReply>, ConnectionError>> + Send + '_>> { ... }
}
Expand description

Extension trait defining the requests of this extension.

Provided Methods§

source

fn bigreq_enable( &self ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, EnableReply>, ConnectionError>> + Send + '_>>

Enable the BIG-REQUESTS extension.

This enables the BIG-REQUESTS extension, which allows for requests larger than 262140 bytes in length. When enabled, if the 16-bit length field is zero, it is immediately followed by a 32-bit length field specifying the length of the request in 4-byte units.

Object Safety§

This trait is not object safe.

Implementors§