module Gio::NetworkMonitor
 
  Overview
GNetworkMonitor provides an easy-to-use cross-platform API
for monitoring network connectivity. On Linux, the available
implementations are based on the kernel's netlink interface and
on NetworkManager.
There is also an implementation for use inside Flatpak sandboxes.
Defined in:
lib/gi-crystal/src/auto/gio-2.0/network_monitor.crConstructors
- 
        .cast(obj : GObject::Object) : self
        
          Cast a GObject::Objecttoself, throws aTypeCastErrorif the cast can't be made.
Class Method Summary
Instance Method Summary
- #can_reach(connectable : Gio::SocketConnectable, cancellable : Gio::Cancellable | Nil) : Bool
- #can_reach_async(connectable : Gio::SocketConnectable, cancellable : Gio::Cancellable | Nil, &callback : Gio::AsyncReadyCallback) : Nil
- #can_reach_finish(result : Gio::AsyncResult) : Bool
- #connectivity : Gio::NetworkConnectivity
- #network_available : Bool
- #network_available? : Bool
- #network_changed_signal
- #network_metered : Bool
- #network_metered? : Bool
- #to_unsafe
Constructor Detail
Class Method Detail
Instance Method Detail
        
        def can_reach_async(connectable : Gio::SocketConnectable, cancellable : Gio::Cancellable | Nil, &callback : Gio::AsyncReadyCallback) : Nil
        #