Contents

bonjour(_:domain:includeTxtRecord:)

Create a Bonjour browser provider used to browse for Bonjour services.

Declaration

static func bonjour(_ type: String, domain: String? = nil, includeTxtRecord: Bool = false) -> Bonjour

Parameters

  • type:

    The Bonjour type to browse for.

  • domain:

    Optional Bonjour domain to browse in. If not specified, uses the Bonjour default browse domain, nil, which is recommended in most cases.

  • includeTxtRecord:

    Boolean specifying whether to query for TXT records.