Gio.Socket.prototype.get_socket_type

function get_socket_type(): Gio.SocketType {
    // Gjs wrapper for g_socket_get_socket_type()
}
  

Gets the socket type of the socket.

Since 2.22

Returns

a Gio.SocketType