cat-bookmarker/assets/node_modules/bonjour-service/dist/lib/mdns-server.d.ts

15 lines
467 B
TypeScript
Raw Permalink Normal View History

2024-03-10 18:52:04 +00:00
import { ServiceRecord } from './service';
export declare class Server {
mdns: any;
private registry;
private errorCallback;
constructor(opts: any, 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;