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