A proxy handler can override an HTTP request.

interface IProxyHandler {
    getProxy: (request: IRequest) => Promise<IRequest>;
}

Implemented by

Properties

Properties

getProxy: (request: IRequest) => Promise<IRequest>

Get a new proxied request for a given request. If the given request is not applicable, null can be returned.

Type declaration