ShadowSocksURL class
Shadowsocks links with plain or base64-encoded method/password values.
- Inheritance
-
- Object
- FlutterVlessURL
- ShadowSocksURL
Constructors
- ShadowSocksURL({required String url})
-
Parses a lowercase
ss://link, including legacy full-base64 authorities.
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
-
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
- method ↔ String
-
Parsed Shadowsocks encryption method; defaults to
noneif not provided.getter/setter pair - network → String
-
Initial transport network used when creating streamSettingsBuilder.
no setterinherited
-
outbound1
→ Map<
String, dynamic> -
Primary outbound JSON for this profile.
no setteroverride
- password ↔ String
-
Parsed Shadowsocks password, retained for outbound generation.
getter/setter pair
- 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
streamSettingsobject.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
proxyoutbound fromprotocol, itssettingsand the current streamSettingsBuilder, with mux disabled.inherited -
decodeXhttpExtra(
String? extra) → Map< String, dynamic> ? -
Decodes the XHTTP
extraJSON object from URL query parameters.inherited -
emptyToDefault(
String? value, String fallback) → String -
Returns
fallbackwhenvalueis null or empty; otherwise returnsvalue.inherited -
getFullConfiguration(
{int indent = 2}) → String -
Serializes fullConfiguration as JSON with
indentspaces 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
streamSettingsfrom 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