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.
15 lines
467 B
15 lines
467 B
2 years ago
|
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;
|