[Modify] Polish it
This commit is contained in:
parent
ee79cac635
commit
2d54e45a46
@ -2762,7 +2762,7 @@ namespace WebSocketSharp
|
||||
|
||||
byte[] bytes;
|
||||
if (!data.TryGetUTF8EncodedBytes (out bytes))
|
||||
throw new ArgumentException ("Could not be UTF8 encoded.", "data");
|
||||
throw new ArgumentException ("It could not be UTF8 encoded.", "data");
|
||||
|
||||
send (Opcode.Text, new MemoryStream (bytes));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user