Gio.SocketControlMessage.prototype.get_msg_type

function get_msg_type(): Number(gint) {
    // Gjs wrapper for g_socket_control_message_get_msg_type()
}
  

Returns the protocol specific type of the control message. For instance, for UNIX fd passing this would be SCM_RIGHTS.

Since 2.22

Returns

an integer describing the type of control message