StreamConfig constructor

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

Implementation

const factory StreamConfig({
  XrayAddress? address,
  int? port,
  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;