11 references to Text
System (7)
net\System\Net\WebSockets\WebSocketBase.cs (7)
285
messageType != WebSocketMessageType.
Text
)
291
WebSocketMessageType.
Text
,
306
Contract.Assert(messageType == WebSocketMessageType.Binary || messageType == WebSocketMessageType.
Text
,
1187
Contract.Assert(messageType == WebSocketMessageType.Binary || messageType == WebSocketMessageType.
Text
,
1192
WebSocketMessageType.
Text
));
1194
if (messageType == WebSocketMessageType.
Text
)
1225
return WebSocketMessageType.
Text
;
System.ServiceModel (1)
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (1)
1005
Fx.Assert(result.MessageType == WebSocketMessageType.
Text
, "result.MessageType must be WebSocketMessageType.Text.");
System.Web (3)
WebSockets\AspNetWebSocket.cs (2)
463
await DoWork(() => _pipe.WriteFragmentAsync(buffer, (messageType == WebSocketMessageType.
Text
), endOfMessage), cancellationToken).ConfigureAwait(continueOnCapturedContext: false);
518
case WebSocketMessageType.
Text
:
WebSockets\WebSocketPipe.cs (1)
131
WebSocketMessageType messageType = (fUtf8Encoded) ? WebSocketMessageType.
Text
: WebSocketMessageType.Binary;