Link
#struct LinkA parsed vmess:// link, the form v2rayN and most apps share.
| Name | Type | Description |
|---|---|---|
ok | bool = false | True when the link is complete and supported. |
err | str = "" | Why parsing failed. |
remark | str = "" | The ps label. |
host | str = "" | The server address. |
port | int = 443 | The server port. |
uuid | str = "" | The user id. |
alter_id | int = 0 | The legacy aid number, kept for round trips. Only 0 is meaningful here. |
security | str = "auto" | The body cipher name: auto, aes-128-gcm, chacha20-poly1305, none or zero. |
network | str = "tcp" | tcp, ws, httpupgrade or grpc. |
header_type | str = "none" | The type field, usually none. |
host_header | str = "" | The host field: the Host header of WebSocket and HTTP upgrade. |
path | str = "" | The WebSocket path, or the gRPC service name. |
tls | bool = false | True when the link says tls. |
sni | str = "" | The TLS server name. |
alpn | str = "" | The ALPN text. |
fingerprint | str = "" | The fp browser name. |
allow_insecure | bool = false | Skip certificate verification. |