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.
|
- using System.Collections.Generic;
-
- namespace Shadowsocks.Interop.V2Ray.Transport
- {
- public class WebSocketObject
- {
- /// <summary>
- /// Gets or sets whether to use PROXY protocol.
- /// </summary>
- public bool AcceptProxyProtocol { get; set; }
-
- /// <summary>
- /// Gets or sets the HTTP query path.
- /// </summary>
- public string Path { get; set; }
-
- /// <summary>
- /// Gets or sets HTTP header key-value pairs.
- /// </summary>
- public Dictionary<string, string> Headers { get; set; }
-
- public WebSocketObject()
- {
- AcceptProxyProtocol = false;
- Path = "/";
- Headers = new();
- }
- }
- }
|