@types/http-proxy
Advanced tools
Comparing version 1.17.4 to 1.17.5
@@ -178,2 +178,63 @@ // Type definitions for node-http-proxy 1.17 | ||
once(event: string, listener: () => void): this; | ||
once(event: "error", listener: ErrorCallback): this; | ||
once( | ||
event: "start", | ||
listener: ( | ||
req: http.IncomingMessage, | ||
res: http.ServerResponse, | ||
target: ProxyTargetUrl | ||
) => void | ||
): this; | ||
once( | ||
event: "proxyReq", | ||
listener: ( | ||
proxyReq: http.ClientRequest, | ||
req: http.IncomingMessage, | ||
res: http.ServerResponse, | ||
options: Server.ServerOptions | ||
) => void | ||
): this; | ||
once( | ||
event: "proxyRes", | ||
listener: ( | ||
proxyRes: http.IncomingMessage, | ||
req: http.IncomingMessage, | ||
res: http.ServerResponse | ||
) => void | ||
): this; | ||
once( | ||
event: "proxyReqWs", | ||
listener: ( | ||
proxyReq: http.ClientRequest, | ||
req: http.IncomingMessage, | ||
socket: net.Socket, | ||
options: Server.ServerOptions, | ||
head: any | ||
) => void | ||
): this; | ||
once( | ||
event: "econnreset", | ||
listener: ( | ||
err: Error, | ||
req: http.IncomingMessage, | ||
res: http.ServerResponse, | ||
target: ProxyTargetUrl | ||
) => void | ||
): this; | ||
once( | ||
event: "end", | ||
listener: ( | ||
req: http.IncomingMessage, | ||
res: http.ServerResponse, | ||
proxyRes: http.IncomingMessage | ||
) => void | ||
): this; | ||
once( | ||
event: "close", | ||
listener: ( | ||
proxyRes: http.IncomingMessage, | ||
proxySocket: net.Socket, | ||
proxyHead: any | ||
) => void | ||
): this; | ||
removeListener(event: string, listener: () => void): this; | ||
@@ -180,0 +241,0 @@ removeAllListeners(event?: string): this; |
{ | ||
"name": "@types/http-proxy", | ||
"version": "1.17.4", | ||
"version": "1.17.5", | ||
"description": "TypeScript definitions for node-http-proxy", | ||
@@ -44,4 +44,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "6243dacd88efaba343583f5f44980cbb3be6ae00cee1b436ba747611e13e08bf", | ||
"typeScriptVersion": "2.8" | ||
"typesPublisherContentHash": "8d9fbccf96307a62df1824497003b5959e1cb54dcbb44b22b6287831fce38541", | ||
"typeScriptVersion": "3.4" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 20 Mar 2020 15:47:18 GMT | ||
* Last updated: Fri, 15 Jan 2021 16:57:14 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
Sorry, the diff of this file is not supported yet
12377
285