11 references to WebSocketDefaults
dotnet-svcutil-lib (11)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketHelper.cs (3)
39
int effectiveMaxReceiveBufferSize = maxReceivedMessageSize <=
WebSocketDefaults
.BufferSize ? (int)maxReceivedMessageSize :
WebSocketDefaults
.BufferSize;
40
return Math.Max(
WebSocketDefaults
.MinReceiveBufferSize, effectiveMaxReceiveBufferSize);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (2)
393
return
WebSocketDefaults
.DefaultWebSocketMessageType;
911
: this(webSocket,
WebSocketDefaults
.DefaultWebSocketMessageType, closeTimeout)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportSettings.cs (6)
28
_transportUsage =
WebSocketDefaults
.TransportUsage;
29
_keepAliveInterval =
WebSocketDefaults
.DefaultKeepAliveInterval;
30
_subProtocol =
WebSocketDefaults
.SubProtocol;
41
[DefaultValue(
WebSocketDefaults
.TransportUsage)]
56
[DefaultValue(typeof(TimeSpan),
WebSocketDefaults
.DefaultKeepAliveIntervalString)]
86
[DefaultValue(
WebSocketDefaults
.SubProtocol)]