public uint add_status_code_handler (string @signal, uint status_code, Callback callback, void* user_data)
Adds a signal handler to this for
signal, as with
connect, but the
callback will only be run if
this has the status
signal must be a signal that will be emitted after this's status is set. For a client
Message, this means it can't be a "wrote" signal. For a server
Message, this means it can't be a "got" signal.
status code to match against
the header handler
signal to connect the handler to.
data to pass to
the handler ID from connect