VlessURL class

VLESS links, including TLS, Reality and configured transport parameters.

Inheritance

Constructors

VlessURL({required String url})
Parses a lowercase vless:// link and builds its transport settings.

Properties

address → String
Remote endpoint host exposed by this importer, or an empty base default.
no setteroverride
allowInsecure → bool
Legacy insecure-TLS hint; the base implementation is always false.
no setterinherited
encryption → String
Xray VLESS Encryption value for this user.
no setter
fullConfiguration → Map<String, dynamic>
Full generated configuration with a local SOCKS input and proxy, direct and blackhole outputs.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
level → int
User policy level included in generated inbound and outbound settings.
no setterinherited
network → String
Initial transport network used when creating streamSettingsBuilder.
no setterinherited
outbound1 → Map<String, dynamic>
Primary outbound JSON for this profile.
no setteroverride
port → int
Remote server port; share-link implementations use 443 when omitted.
no setteroverride
remark → String
Display name for the profile; the base implementation has no name.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
security → String
Default protocol-level cipher selection used by generated user settings.
no setterinherited
streamSetting → Map<String, dynamic>
Current builder settings serialized as the Xray streamSettings object.
no setterinherited
streamSettingsBuilder → XrayStreamSettingsBuilder
Mutable transport builder used when generating the primary outbound.
latefinalinherited
uri ↔ Uri
Parsed source URI, including its credential-bearing authority and query.
latefinal
url → String
Original share link or configuration text, which may include credentials.
finalinherited

Methods

buildProxyOutbound({required String protocol, required Map<String, dynamic> settings}) → Map<String, dynamic>
Builds the proxy outbound from protocol, its settings and the current streamSettingsBuilder, with mux disabled.
inherited
decodeXhttpExtra(String? extra) → Map<String, dynamic>?
Decodes the XHTTP extra JSON object from URL query parameters.
inherited
emptyToDefault(String? value, String fallback) → String
Returns fallback when value is null or empty; otherwise returns value.
inherited
getFullConfiguration({int indent = 2}) → String
Serializes fullConfiguration as JSON with indent spaces per level.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
populateTlsSettings({required String? streamSecurity, required bool allowInsecure, required String? sni, required String? fingerprint, required String? alpns, required String? publicKey, required String? shortId, required String? spiderX, String? pinnedPeerCertSha256, String? verifyPeerCertByName}) → void
Updates the transport builder from TLS/Reality share-link settings.
inherited
populateTransportSettings({required String transport, required String? headerType, required String? host, required String? path, required String? seed, required String? quicSecurity, required String? key, required String? mode, required String? serviceName, String? extra}) → String
Populates Xray streamSettings from VLESS URL query parameters.
inherited
removeNulls(dynamic params) → dynamic
Returns the legacy typed-generator cleanup of params.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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