| 12/38 |
© 2004 by Philippe "BooK" Bruhat.
|
Filters sharing the same match routine can be pushed within a single call:
$proxy->push_filter( host => 'example.com', request => $req_filter, response => $res_filter, response => $res_filter2, );
In this example,
$req_filter is applied on all requests to example.com
$res_filter receives the response body data for all
requests to example.com before $res_filter2
The filter class is used by the proxy to decide if the filter is a header filter or a body filter