StreamConfig.reality constructor
StreamConfig.reality({
- TransportProtocol network = TransportProtocol.tcp,
- required REALITYConfig realitySettings,
- TCPConfig? rawSettings,
- TCPConfig? tcpSettings,
- SplitHTTPConfig? xhttpSettings,
- SplitHTTPConfig? splithttpSettings,
- GRPCConfig? grpcSettings,
- SocketConfig? sockopt,
Implementation
factory StreamConfig.reality({
TransportProtocol network = TransportProtocol.tcp,
required REALITYConfig realitySettings,
TCPConfig? rawSettings,
TCPConfig? tcpSettings,
SplitHTTPConfig? xhttpSettings,
SplitHTTPConfig? splithttpSettings,
GRPCConfig? grpcSettings,
SocketConfig? sockopt,
}) => StreamConfig(
network: network,
security: SecurityProtocol.reality,
realitySettings: realitySettings,
rawSettings: rawSettings,
tcpSettings: tcpSettings,
xhttpSettings: xhttpSettings,
splithttpSettings: splithttpSettings,
grpcSettings: grpcSettings,
sockopt: sockopt,
);