From b0cb2ad93e596854e219ee3c13e3c7255d90f5ce Mon Sep 17 00:00:00 2001 From: sta Date: Mon, 24 Jun 2019 21:49:21 +0900 Subject: [PATCH] [Modify] Polish it --- websocket-sharp/Ext.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/websocket-sharp/Ext.cs b/websocket-sharp/Ext.cs index d2c06441..87ed9a7e 100644 --- a/websocket-sharp/Ext.cs +++ b/websocket-sharp/Ext.cs @@ -1240,7 +1240,12 @@ namespace WebSocketSharp } internal static void WriteBytesAsync ( - this Stream stream, byte[] bytes, int bufferLength, Action completed, Action error) + this Stream stream, + byte[] bytes, + int bufferLength, + Action completed, + Action error + ) { var input = new MemoryStream (bytes); input.CopyToAsync ( @@ -1256,7 +1261,8 @@ namespace WebSocketSharp input.Dispose (); if (error != null) error (ex); - }); + } + ); } #endregion