@domoinc/ryuu-proxy
Version:
a middleware that provides a proxy for local domo app development
13 lines • 514 B
TypeScript
import { Request, Response, NextFunction } from 'express';
import { IncomingMessage } from 'http';
import busboy from 'busboy';
import { ProxyOptions } from './lib/models';
export declare class Proxy {
private transport;
private agent;
constructor(config: ProxyOptions);
private onError;
express: () => (req: Request, res: Response, next: NextFunction) => void | Promise<any> | busboy.Busboy;
stream: (req: IncomingMessage) => Promise<any> | undefined;
}
//# sourceMappingURL=index.d.ts.map