NET-Web-API-w-Angular/my-app/node_modules/bonjour-service/dist/lib/mdns-server.d.ts

15 lines
501 B
TypeScript
Raw Normal View History

2024-02-09 00:38:41 +00:00
import { ServiceConfig, ServiceRecord } from './service';
export declare class Server {
mdns: any;
private registry;
private errorCallback;
constructor(opts: Partial<ServiceConfig>, errorCallback?: Function | undefined);
register(records: Array<ServiceRecord> | ServiceRecord): void;
unregister(records: Array<ServiceRecord> | ServiceRecord): void;
private respondToQuery;
private recordsFor;
private isDuplicateRecord;
private unique;
}
export default Server;