Method

RebonjourClientregister_service

Declaration

DexFuture*
rebonjour_client_register_service (
  RebonjourClient* self,
  RebonjourServiceDescription* description
)

Description

Registers a DNS-SD service with the selected backend.

Parameters

description

Type: RebonjourServiceDescription

A service description.

The data is owned by the caller of the method.

Return value

Type: DexFuture

A DexFuture resolving to a RebonjourRegistration.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.