mdns-server.d.ts 467 B

1234567891011121314
  1. import { ServiceRecord } from './service';
  2. export declare class Server {
  3. mdns: any;
  4. private registry;
  5. private errorCallback;
  6. constructor(opts: any, errorCallback?: Function | undefined);
  7. register(records: Array<ServiceRecord> | ServiceRecord): void;
  8. unregister(records: Array<ServiceRecord> | ServiceRecord): void;
  9. private respondToQuery;
  10. private recordsFor;
  11. private isDuplicateRecord;
  12. private unique;
  13. }
  14. export default Server;