Gio.UnixCredentialsMessage.is_supported

function is_supported(): Boolean {
    // Gjs wrapper for g_unix_credentials_message_is_supported()
}
  

Checks if passing Gio.Credentials on a Gio.Socket is supported on this platform.

Since 2.26

Returns

true if supported, false otherwise