Gio.SocketControlMessage.prototype.get_level
function get_level(): Number(gint) { // Gjs wrapper for g_socket_control_message_get_level() }
Returns the "level" (i.e. the originating protocol) of the control message. This is often SOL_SOCKET.
Since 2.22
- Returns
an integer describing the level