import type { CommonConnectionAdapterConfig } from './ConnectionAdapter'; import { ConnectionAdapter } from './ConnectionAdapter'; /** * The configuration of the reverse proxy connection adapter. * * @inheritDoc */ export interface ReverseProxyAdapterConfig extends CommonConnectionAdapterConfig { /** * The host name the reverse proxy is available under. */ hostName: string; /** * Whether the reverse proxy supports SSL. * * @default true */ ssl?: boolean; /** * The port on which the reverse proxy is available. * * @default ssl ? 443 : 80 */ port?: number; /** * The path prefix your reverse proxy redirects to the listener. */ pathPrefix?: string; } /** * A WebHook connection adapter that supports a reverse proxy in front of the listener. * * @hideProtected */ export declare class ReverseProxyAdapter extends ConnectionAdapter { private readonly _hostName; private readonly _connectUsingSsl; private readonly _port; private readonly _pathPrefix?; /** * Creates a reverse proxy connection adapter. * * @expandParams * * @param options */ constructor(options: ReverseProxyAdapterConfig); /** @protected */ get connectUsingSsl(): boolean; /** @protected */ getExternalPort(): Promise; /** @protected */ getHostName(): Promise; /** @protected */ get pathPrefix(): string | undefined; }