network_event


Description:

public signal void network_event (SocketClientEvent event, IOStream connection)

Emitted to indicate that some network-related event related to msg has occurred.

This essentially proxies the [[email protected]:SoupMessage: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_message_new_connection flag on it.)

See [[email protected]:SoupMessage:event] for more information on what the different values of event correspond to, and what connection will be in each case.

Parameters:

event

the network event

connection

the current state of the network connection




2022 vala-language.org