Method

SoupMessageset_compression_dictionary_id

unstable since: 3.8

Declaration [src]

void
soup_message_set_compression_dictionary_id (
  SoupMessage* msg,
  const char* id
)

Description [src]

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 soup_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.

Available since: 3.8

Parameters

id

Type: const char*

The dictionary identifier, or NULL to unset.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.