Net-Proxy - Re: Callback for filtering capabilities

Posted on Tue Mar 21 12:42:01 2006 by book in response to 1991 (See the whole thread of 2)
Re: Callback for filtering capabilities

As the TODO line shows, I knew I would have to add this at some point. :-) But I didn't want to implement the kind of complex stack of filters that HTTP::Proxy provides.

I thought about providing some kind of hook for a single callback, just like your patch. Then again, being able to handle a list of callbacks to call in order could be nice.

I like the "hook" key you added and will provide this (or something very similar using references for passing the data around) in the next release. Net::Proxy will probably be able to manage a reference to an array of callbacks as well.

Thanks a lot for your input and patch.

Write a response