[Modify] Polish it
This commit is contained in:
		@@ -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);
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user