20 references to MinSendBufferSize
System (20)
net\System\Net\HttpListenerContext.cs (2)
171
WebSocketHelpers.ValidateOptions(subProtocol, receiveBufferSize, WebSocketBuffer.
MinSendBufferSize
, keepAliveInterval);
173
ArraySegment<byte> internalBuffer = WebSocketBuffer.CreateInternalBufferArraySegment(receiveBufferSize, WebSocketBuffer.
MinSendBufferSize
, true);
net\System\Net\WebSockets\WebSocket.cs (4)
57
WebSocketHelpers.ValidateBufferSizes(receiveBufferSize, WebSocketBuffer.
MinSendBufferSize
);
59
return WebSocketBuffer.CreateInternalBufferArraySegment(receiveBufferSize, WebSocketBuffer.
MinSendBufferSize
, true);
102
WebSocketHelpers.ValidateOptions(subProtocol, receiveBufferSize, WebSocketBuffer.
MinSendBufferSize
, keepAliveInterval);
104
WebSocketBuffer.Validate(internalBuffer.Count, receiveBufferSize, WebSocketBuffer.
MinSendBufferSize
, true);
net\System\Net\WebSockets\WebSocketBuffer.cs (10)
63
Contract.Assert(sendBufferSize >=
MinSendBufferSize
,
64
"'sendBufferSize' MUST be at least " +
MinSendBufferSize
.ToString(NumberFormatInfo.InvariantInfo) + ".");
113
int sendBufferSize = GetNativeSendBufferSize(
MinSendBufferSize
, true);
521
return isServerBuffer ?
MinSendBufferSize
: sendBufferSize;
661
Contract.Assert(sendBufferSize >=
MinSendBufferSize
,
662
"'sendBufferSize' MUST be at least " +
MinSendBufferSize
.ToString(NumberFormatInfo.InvariantInfo) + ".");
672
Contract.Assert(sendBufferSize >=
MinSendBufferSize
,
673
"'sendBufferSize' MUST be at least " +
MinSendBufferSize
.ToString(NumberFormatInfo.InvariantInfo) + ".");
687
Contract.Assert(sendBufferSize >=
MinSendBufferSize
,
688
"'sendBufferSize' MUST be at least " +
MinSendBufferSize
.ToString(NumberFormatInfo.InvariantInfo) + ".");
net\System\Net\WebSockets\WebSocketHelpers.cs (4)
60
WebSocketHelpers.ValidateOptions(subProtocol, receiveBufferSize, WebSocketBuffer.
MinSendBufferSize
, keepAliveInterval);
62
WebSocketBuffer.Validate(internalBuffer.Count, receiveBufferSize, WebSocketBuffer.
MinSendBufferSize
, true);
478
if (sendBufferSize < WebSocketBuffer.
MinSendBufferSize
)
481
SR.GetString(SR.net_WebSockets_ArgumentOutOfRange_TooSmall, WebSocketBuffer.
MinSendBufferSize
));