import { Filter , ProxyErrorException , Request , Response } from '@nestcloud/proxy' ; import { ClientRequest , IncomingMessage } from 'http' ; import { Injectable } from '@nestjs/common' ; @ Injectable ( ) export class CustomProxyFilter implements Filter { before ( request , response ) { return true ; } error ( error , request , response ) { } request ( proxyReq , request , response ) { } response ( proxyRes , request , response ) { } }