Method

RebonjourServiceDescriptionset_txt

Declaration

void
rebonjour_service_description_set_txt (
  RebonjourServiceDescription* self,
  const char* key,
  GBytes* value
)

Description

Sets a TXT record value.

The value is copied by reference and may contain arbitrary bytes.

Parameters

key

Type: const char*

TXT record key.

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

Type: GBytes

TXT record value.

The data is owned by the caller of the method.