signal callback delegate or function to connect
void callback(gio.types.SocketClientEvent event, gio.iostream.IOStream connection, soup.message.Message message)
event the network event (optional)
connection the current state of the network connection (optional)
message the instance the signal is connected to (optional)
Yes.After to execute callback after default handler, No.After to execute before (default)
Signal ID
Connect to NetworkEvent signal.
Emitted to indicate that some network-related event related to msg has occurred.
This essentially proxies the gio.socket_client.SocketClient.event signal, but only for events that occur while msg "owns" the connection; if msg is sent on an existing persistent connection, then this signal will not be emitted. (If you want to force the message to be sent on a new connection, set the soup.types.MessageFlags.NewConnection flag on it.)
See gio.socket_client.SocketClient.event for more information on what the different values of event correspond to, and what connection will be in each case.