Method

ClapperHarvestheaders_set

since: 0.8

Declaration [src]

void
clapper_harvest_headers_set (
  ClapperHarvest* harvest,
  const gchar* key,
  ...
)

Description [src]

Set one or more request headers named with key to specified value.

Arguments should be NULL terminated list of key+value string pairs.

Setting again the same key will update its value to the new one.

Available since: 0.8

This method is not directly available to language bindings.

The implementation of this method is provided by clapper_harvest_headers_set_value() in language bindings.

Parameters

key

Type: const gchar*

A header name.

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

Type: 

NULL-terminated list of arguments.