StreamConfig constructor

const StreamConfig({
  1. XrayAddress? address,
  2. int? port,
  3. TransportProtocol? method,
  4. TransportProtocol? network,
  5. SecurityProtocol? security,
  6. FinalMask? finalmask,
  7. TCPConfig? rawSettings,
  8. TCPConfig? tcpSettings,
  9. SplitHTTPConfig? xhttpSettings,
  10. KCPConfig? kcpSettings,
  11. WebSocketConfig? wsSettings,
  12. HttpUpgradeConfig? httpupgradeSettings,
  13. SplitHTTPConfig? splithttpSettings,
  14. GRPCConfig? grpcSettings,
  15. HysteriaConfig? hysteriaSettings,
  16. TLSConfig? tlsSettings,
  17. REALITYConfig? realitySettings,
  18. SocketConfig? sockopt,
})

Implementation

const factory StreamConfig({
  XrayAddress? address,
  int? port,
  TransportProtocol? method,
  TransportProtocol? network,
  SecurityProtocol? security,
  FinalMask? finalmask,
  TCPConfig? rawSettings,
  TCPConfig? tcpSettings,
  SplitHTTPConfig? xhttpSettings,
  KCPConfig? kcpSettings,
  WebSocketConfig? wsSettings,
  HttpUpgradeConfig? httpupgradeSettings,
  SplitHTTPConfig? splithttpSettings,
  GRPCConfig? grpcSettings,
  HysteriaConfig? hysteriaSettings,
  TLSConfig? tlsSettings,
  REALITYConfig? realitySettings,
  SocketConfig? sockopt,
}) = _StreamConfig;