url/xray_config_model library

Classes

XrayConfigDocument
Typed subset used to generate a basic Xray share-link configuration.
XrayInbound
One typed Xray input for generated configurations.
XrayJsonModel
A typed configuration value that can produce an Xray JSON object.
XrayLog
Logging fields for generated Xray JSON.
XrayOutbound
One typed Xray output, with optional transport and protocol settings.
XrayRouting
Core routing fields for a generated configuration.
XraySniffing
Destination-sniffing fields used by a generated Xray input.
XrayStreamSettings
Typed transport settings used by share-link JSON generation.
XrayStreamSettingsBuilder
Mutable transport settings assembled while parsing a share link.

Enums

XrayJsonChange
Compatibility edits reported for schema-owned fields of full-profile JSON.

Functions

sanitizeXrayJson(dynamic params, {bool preserveStructure = false, void onChange(XrayJsonChange)?}) → dynamic
Normalizes legacy fields while optionally retaining raw JSON structure.

Typedefs

JsonMap = Map<String, dynamic>
String-keyed settings/JSON map used by the typed configuration helpers.