|
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
|
| Rev | Line | |
|---|
| [9af201e] | 1 | import Browser, { BrowserConfig } from './lib/browser';
|
|---|
| 2 | import Service, { ServiceConfig, ServiceReferer } from './lib/service';
|
|---|
| 3 | export 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 | }
|
|---|
| 13 | export { Service, ServiceReferer, ServiceConfig, Browser, BrowserConfig };
|
|---|
| 14 | export default Bonjour;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.