View definition

(*ProxyHttpServer).OnResponse

Defined in github.com/elazarl/goproxy/dispatcher.go

Description

OnResponse is used when adding a response-filter to the HTTP proxy, usual pattern is

proxy.OnResponse(cond1,cond2).Do(handler) // handler.Handle(resp,ctx) will be used
			// if cond1.HandleResp(resp) && cond2.HandleResp(resp)