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.

OutboundConfigurationObject.cs 565 B

1234567891011121314151617181920212223
  1. using System.Collections.Generic;
  2. using System.Net;
  3. namespace Shadowsocks.Interop.V2Ray.Protocols.Socks
  4. {
  5. public class OutboundConfigurationObject
  6. {
  7. public List<ServerObject> Servers { get; set; }
  8. public OutboundConfigurationObject()
  9. {
  10. Servers = new();
  11. }
  12. public OutboundConfigurationObject(DnsEndPoint socksEndPoint, string username = "", string password = "")
  13. {
  14. Servers = new()
  15. {
  16. new(socksEndPoint, username, password),
  17. };
  18. }
  19. }
  20. }