Adds a signal handler to this for signal, as with connect
, but the callback will only be run if this's incoming messages headers (that is,
the request_headers for a client Message, or the response_headers for a server
Message) contain a header named header.
| this |
a Message |
| header |
HTTP response header to match against |
| callback |
the header handler |
| signal |
signal to connect the handler to. |
| user_data |
data to pass to |
|
the handler ID from connect |