7 references to Text
System.Net.WebSockets (7)
System\Net\WebSockets\ManagedWebSocket.cs (7)
98
private MessageHeader _lastReceiveHeader = new MessageHeader { Opcode = MessageOpcode.
Text
, Fin = true, Processed = true };
353
opcode = messageType == WebSocketMessageType.Binary ? MessageOpcode.Binary : MessageOpcode.
Text
;
894
Debug.Assert(header.Opcode == MessageOpcode.Binary || header.Opcode == MessageOpcode.
Text
, $"Unexpected opcode {header.Opcode}");
902
messageType: header.Opcode == MessageOpcode.
Text
? WebSocketMessageType.Text : WebSocketMessageType.Binary,
985
if (header.Opcode == MessageOpcode.
Text
&&
999
header.Opcode == MessageOpcode.
Text
? WebSocketMessageType.Text : WebSocketMessageType.Binary,
1384
case MessageOpcode.
Text
: