source: frontend/node_modules/bonjour-service/dist/index.d.ts

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 2 weeks ago

Fix frontend appearance

  • Property mode set to 100644
File size: 725 bytes
RevLine 
[9af201e]1import Browser, { BrowserConfig } from './lib/browser';
2import Service, { ServiceConfig, ServiceReferer } from './lib/service';
3export declare class Bonjour {
4 private server;
5 private registry;
6 constructor(opts?: Partial<ServiceConfig>, errorCallback?: Function | undefined);
7 publish(opts: ServiceConfig): Service;
8 unpublishAll(callback?: CallableFunction | undefined): void;
9 find(opts?: BrowserConfig | null, onup?: (service: Service) => void): Browser;
10 findOne(opts?: BrowserConfig | null, timeout?: number, callback?: CallableFunction): Browser;
11 destroy(callback?: CallableFunction): void;
12}
13export { Service, ServiceReferer, ServiceConfig, Browser, BrowserConfig };
14export default Bonjour;
Note: See TracBrowser for help on using the repository browser.