1 | import { IHttpClient } from './IHttpClient';
|
2 | /**
|
3 | * The SSDP discovery options.
|
4 | */
|
5 | export interface IOptions {
|
6 | /**
|
7 | * An implementation of a HTTP client. Default value is based
|
8 | * on <a href="https://www.npmjs.com/package/request">Request</a> but a
|
9 | * custom implementation can be provided. This can be useful if discovery
|
10 | * is required in an Electron application where one wish to benefit from
|
11 | * the proxy configuration provided by using Electron's
|
12 | * <a href="https://electronjs.org/docs/api/net">net.request</a>.
|
13 | */
|
14 | httpClient?: IHttpClient;
|
15 | }
|