You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
415 B

1 month ago
  1. import Server from './mdns-server';
  2. import Service, { ServiceConfig } from './service';
  3. export declare class Registry {
  4. private server;
  5. private services;
  6. constructor(server: Server);
  7. publish(config: ServiceConfig): Service;
  8. unpublishAll(callback: CallableFunction | undefined): void;
  9. destroy(): void;
  10. private probe;
  11. private announce;
  12. private teardown;
  13. }
  14. export default Registry;