Method

SoupCompressionDictionaryRequestset_dictionary

unstable since: 3.8

Declaration [src]

void
soup_compression_dictionary_request_set_dictionary (
  SoupCompressionDictionaryRequest* request,
  GBytes* dictionary
)

Description [src]

Provides the dictionary bytes for a pending SoupMessage::request-compression-dictionary request.

This can be called synchronously inside the signal handler or asynchronously after ref-ing request and returning TRUE from the handler.

Available since: 3.8

Parameters

dictionary

Type: GBytes

The raw dictionary bytes.

The data is owned by the caller of the method.