Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Zeroconf/ZeroconfDaemon

Index

Functions

Functions

publishServer

  • publishServer(bonjour: Bonjour, type: string, name: string, server: Server): Promise<Service>
  • Publish a server as a Zeroconf service. The advertisement will be withdrawn when the server stops accepting connections.

    Parameters

    • bonjour: Bonjour

      a Zeroconf session

    • type: string

      Unix service type, e.g. http or ssh

    • name: string

      human-readable name which is unique on the LAN

    • server: Server

      a TCP server in the listening state

    Returns Promise<Service>

    the underlying service descriptor that was announced.

Generated using TypeDoc