XraySniffing class

Destination-sniffing fields used by a generated Xray input.

Implemented types

Constructors

XraySniffing({required bool enabled, required List<String> destOverride, required bool metadataOnly})
Creates sniffing settings with explicit enabled, destOverride and metadataOnly values.
const

Properties

destOverride → List<String>
Protocols whose detected destinations can be used, such as http, tls and quic; support is decided by native Core.
final
enabled → bool
Whether Core should inspect supported traffic metadata.
final
hashCode → int
The hash code for this object.
no setterinherited
metadataOnly → bool
Whether Core should use metadata-only sniffing rather than reading payload.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → JsonMap
Returns this value as JSON fields.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited