[Modify] Polish it

This commit is contained in:
sta 2016-12-12 17:09:53 +09:00
parent a49dad8733
commit cc196cf6ca

View File

@ -2820,7 +2820,7 @@ namespace WebSocketSharp
byte[] bytes;
if (!data.TryGetUTF8EncodedBytes (out bytes))
throw new ArgumentException ("It could not be UTF8 encoded.", "data");
throw new ArgumentException ("It could not be UTF-8-encoded.", "data");
send (Opcode.Text, new MemoryStream (bytes));
}