set_network_monitor


Description:

[ Version ( since = "3.22" ) ]
public void set_network_monitor (NetworkMonitor? network_monitor)

Sets a network monitor instance for the this.

This can be used to override which NetworkMonitor should be used to check network availability and whether a server is reachable.

Parameters:

this

a Session

network_monitor

a NetworkMonitor or null




2022 vala-language.org