You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- namespace Shadowsocks.Interop.V2Ray.Transport
- {
- public class StreamSettingsObject : TransportObject
- {
- /// <summary>
- /// Gets or sets the transport protocol type.
- /// Defaults to "tcp".
- /// Available values: "tcp" | "kcp" | "ws" | "http" | "domainsocket" | "quic"
- /// </summary>
- public string Network { get; set; }
-
- /// <summary>
- /// Gets or sets the transport encryption type.
- /// Defaults to "none" (no encryption).
- /// Available values: "none" | "tls"
- /// </summary>
- public string Security { get; set; }
-
- public TlsObject TlsSettings { get; set; }
- public SockoptObject Sockopt { get; set; }
-
- public StreamSettingsObject()
- {
- Network = "tcp";
- Security = "none";
- TlsSettings = new();
- Sockopt = new();
- }
- }
- }
|