[Modify] Polish it

master
sta 9 years ago
parent ef2f1d8137
commit 056f2c8ffc

@ -3015,7 +3015,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");
sendAsync (Opcode.Text, new MemoryStream (bytes), completed);
}

Loading…
Cancel
Save