Function x11rb::protocol::bigreq::enable

source ·
pub fn enable<Conn>(
    conn: &Conn
) -> Result<Cookie<'_, Conn, EnableReply>, ConnectionError>
where Conn: RequestConnection + ?Sized,
Expand description

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.