set_compression_dictionary_id


Description:

[ Version ( since = "3.8" ) ]
public void set_compression_dictionary_id (string? id)

Sets the identifier of the shared dictionary advertised for Compression Dictionary Transport (RFC 9842).

id is the value the server gave in the `id` parameter of the `Use-As-Dictionary` response header that registered the dictionary. It is sent as a `Dictionary-ID` header alongside `Available-Dictionary`, and only when a hash has been set with [ method@Message.set_compression_dictionary_hash] and that header is sent, so it can never be emitted on its own.

Like the hash, the id does not survive redirects.

Parameters:

this

a Message

id

the dictionary identifier, or null to unset