diff --git a/Example/bin/Debug/example.exe b/Example/bin/Debug/example.exe index 928c33c0..96fd9a04 100755 Binary files a/Example/bin/Debug/example.exe and b/Example/bin/Debug/example.exe differ diff --git a/Example/bin/Debug/websocket-sharp.dll b/Example/bin/Debug/websocket-sharp.dll index 8c1a6d70..800d3ceb 100755 Binary files a/Example/bin/Debug/websocket-sharp.dll and b/Example/bin/Debug/websocket-sharp.dll differ diff --git a/Example/bin/Debug_Ubuntu/example.exe b/Example/bin/Debug_Ubuntu/example.exe index f96ac1dd..0945a899 100755 Binary files a/Example/bin/Debug_Ubuntu/example.exe and b/Example/bin/Debug_Ubuntu/example.exe differ diff --git a/Example/bin/Debug_Ubuntu/websocket-sharp.dll b/Example/bin/Debug_Ubuntu/websocket-sharp.dll index 0f292a36..8e14ee3f 100755 Binary files a/Example/bin/Debug_Ubuntu/websocket-sharp.dll and b/Example/bin/Debug_Ubuntu/websocket-sharp.dll differ diff --git a/Example/bin/Release/example.exe b/Example/bin/Release/example.exe index cf7556c2..193f1e9e 100755 Binary files a/Example/bin/Release/example.exe and b/Example/bin/Release/example.exe differ diff --git a/Example/bin/Release/websocket-sharp.dll b/Example/bin/Release/websocket-sharp.dll index 98fb2755..1324645a 100755 Binary files a/Example/bin/Release/websocket-sharp.dll and b/Example/bin/Release/websocket-sharp.dll differ diff --git a/Example/bin/Release_Ubuntu/example.exe b/Example/bin/Release_Ubuntu/example.exe index 0b062170..7b40b4c7 100755 Binary files a/Example/bin/Release_Ubuntu/example.exe and b/Example/bin/Release_Ubuntu/example.exe differ diff --git a/Example/bin/Release_Ubuntu/websocket-sharp.dll b/Example/bin/Release_Ubuntu/websocket-sharp.dll index bc20f551..68b9ca92 100755 Binary files a/Example/bin/Release_Ubuntu/websocket-sharp.dll and b/Example/bin/Release_Ubuntu/websocket-sharp.dll differ diff --git a/Example1/bin/Debug/example1.exe b/Example1/bin/Debug/example1.exe index fb367dd6..bb44cf3f 100755 Binary files a/Example1/bin/Debug/example1.exe and b/Example1/bin/Debug/example1.exe differ diff --git a/Example1/bin/Debug/websocket-sharp.dll b/Example1/bin/Debug/websocket-sharp.dll index 8c1a6d70..800d3ceb 100755 Binary files a/Example1/bin/Debug/websocket-sharp.dll and b/Example1/bin/Debug/websocket-sharp.dll differ diff --git a/Example1/bin/Debug_Ubuntu/example1.exe b/Example1/bin/Debug_Ubuntu/example1.exe index c053187c..07aae19a 100755 Binary files a/Example1/bin/Debug_Ubuntu/example1.exe and b/Example1/bin/Debug_Ubuntu/example1.exe differ diff --git a/Example1/bin/Debug_Ubuntu/websocket-sharp.dll b/Example1/bin/Debug_Ubuntu/websocket-sharp.dll index 0f292a36..8e14ee3f 100755 Binary files a/Example1/bin/Debug_Ubuntu/websocket-sharp.dll and b/Example1/bin/Debug_Ubuntu/websocket-sharp.dll differ diff --git a/Example1/bin/Release/example1.exe b/Example1/bin/Release/example1.exe index ab89d680..8db347aa 100755 Binary files a/Example1/bin/Release/example1.exe and b/Example1/bin/Release/example1.exe differ diff --git a/Example1/bin/Release/websocket-sharp.dll b/Example1/bin/Release/websocket-sharp.dll index 98fb2755..1324645a 100755 Binary files a/Example1/bin/Release/websocket-sharp.dll and b/Example1/bin/Release/websocket-sharp.dll differ diff --git a/Example1/bin/Release_Ubuntu/example1.exe b/Example1/bin/Release_Ubuntu/example1.exe index 302c2d66..11d89835 100755 Binary files a/Example1/bin/Release_Ubuntu/example1.exe and b/Example1/bin/Release_Ubuntu/example1.exe differ diff --git a/Example1/bin/Release_Ubuntu/websocket-sharp.dll b/Example1/bin/Release_Ubuntu/websocket-sharp.dll index bc20f551..68b9ca92 100755 Binary files a/Example1/bin/Release_Ubuntu/websocket-sharp.dll and b/Example1/bin/Release_Ubuntu/websocket-sharp.dll differ diff --git a/Example2/bin/Debug/example2.exe b/Example2/bin/Debug/example2.exe index 209f9e2f..bfd139f3 100755 Binary files a/Example2/bin/Debug/example2.exe and b/Example2/bin/Debug/example2.exe differ diff --git a/Example2/bin/Debug/websocket-sharp.dll b/Example2/bin/Debug/websocket-sharp.dll index 8c1a6d70..800d3ceb 100755 Binary files a/Example2/bin/Debug/websocket-sharp.dll and b/Example2/bin/Debug/websocket-sharp.dll differ diff --git a/Example2/bin/Debug_Ubuntu/example2.exe b/Example2/bin/Debug_Ubuntu/example2.exe index 108d9f61..6fa987bd 100755 Binary files a/Example2/bin/Debug_Ubuntu/example2.exe and b/Example2/bin/Debug_Ubuntu/example2.exe differ diff --git a/Example2/bin/Debug_Ubuntu/websocket-sharp.dll b/Example2/bin/Debug_Ubuntu/websocket-sharp.dll index 0f292a36..8e14ee3f 100755 Binary files a/Example2/bin/Debug_Ubuntu/websocket-sharp.dll and b/Example2/bin/Debug_Ubuntu/websocket-sharp.dll differ diff --git a/Example2/bin/Release/example2.exe b/Example2/bin/Release/example2.exe index 7213d771..2617b28d 100755 Binary files a/Example2/bin/Release/example2.exe and b/Example2/bin/Release/example2.exe differ diff --git a/Example2/bin/Release/websocket-sharp.dll b/Example2/bin/Release/websocket-sharp.dll index 98fb2755..1324645a 100755 Binary files a/Example2/bin/Release/websocket-sharp.dll and b/Example2/bin/Release/websocket-sharp.dll differ diff --git a/Example2/bin/Release_Ubuntu/example2.exe b/Example2/bin/Release_Ubuntu/example2.exe index 1ba06775..7d4cfa0e 100755 Binary files a/Example2/bin/Release_Ubuntu/example2.exe and b/Example2/bin/Release_Ubuntu/example2.exe differ diff --git a/Example2/bin/Release_Ubuntu/websocket-sharp.dll b/Example2/bin/Release_Ubuntu/websocket-sharp.dll index bc20f551..68b9ca92 100755 Binary files a/Example2/bin/Release_Ubuntu/websocket-sharp.dll and b/Example2/bin/Release_Ubuntu/websocket-sharp.dll differ diff --git a/Example3/bin/Debug/Example3.exe b/Example3/bin/Debug/Example3.exe index e3dbae18..0d65df06 100755 Binary files a/Example3/bin/Debug/Example3.exe and b/Example3/bin/Debug/Example3.exe differ diff --git a/Example3/bin/Debug/websocket-sharp.dll b/Example3/bin/Debug/websocket-sharp.dll index 8c1a6d70..800d3ceb 100755 Binary files a/Example3/bin/Debug/websocket-sharp.dll and b/Example3/bin/Debug/websocket-sharp.dll differ diff --git a/Example3/bin/Debug_Ubuntu/Example3.exe b/Example3/bin/Debug_Ubuntu/Example3.exe index 87c51f32..8b63c2b1 100755 Binary files a/Example3/bin/Debug_Ubuntu/Example3.exe and b/Example3/bin/Debug_Ubuntu/Example3.exe differ diff --git a/Example3/bin/Debug_Ubuntu/websocket-sharp.dll b/Example3/bin/Debug_Ubuntu/websocket-sharp.dll index 0f292a36..8e14ee3f 100755 Binary files a/Example3/bin/Debug_Ubuntu/websocket-sharp.dll and b/Example3/bin/Debug_Ubuntu/websocket-sharp.dll differ diff --git a/Example3/bin/Release/Example3.exe b/Example3/bin/Release/Example3.exe index 8046a341..d788ea96 100755 Binary files a/Example3/bin/Release/Example3.exe and b/Example3/bin/Release/Example3.exe differ diff --git a/Example3/bin/Release/websocket-sharp.dll b/Example3/bin/Release/websocket-sharp.dll index 98fb2755..1324645a 100755 Binary files a/Example3/bin/Release/websocket-sharp.dll and b/Example3/bin/Release/websocket-sharp.dll differ diff --git a/Example3/bin/Release_Ubuntu/Example3.exe b/Example3/bin/Release_Ubuntu/Example3.exe index c0f40492..6b08de79 100755 Binary files a/Example3/bin/Release_Ubuntu/Example3.exe and b/Example3/bin/Release_Ubuntu/Example3.exe differ diff --git a/Example3/bin/Release_Ubuntu/websocket-sharp.dll b/Example3/bin/Release_Ubuntu/websocket-sharp.dll index bc20f551..68b9ca92 100755 Binary files a/Example3/bin/Release_Ubuntu/websocket-sharp.dll and b/Example3/bin/Release_Ubuntu/websocket-sharp.dll differ diff --git a/websocket-sharp/WebSocket.cs b/websocket-sharp/WebSocket.cs index 2eca2696..1c99cd10 100644 --- a/websocket-sharp/WebSocket.cs +++ b/websocket-sharp/WebSocket.cs @@ -73,8 +73,9 @@ namespace WebSocketSharp { private WebSocketContext _context; private string _extensions; private AutoResetEvent _exitReceiving; - private Object _forClose; - private Object _forSend; + private object _forClose; + private object _forFrame; + private object _forSend; private string _origin; private string _protocol; private string _protocols; @@ -94,8 +95,9 @@ namespace WebSocketSharp { _compression = CompressionMethod.NONE; _cookies = new CookieCollection(); _extensions = String.Empty; - _forClose = new Object(); - _forSend = new Object(); + _forClose = new object(); + _forFrame = new object(); + _forSend = new object(); _origin = String.Empty; _protocol = String.Empty; _readyState = WsState.CONNECTING; @@ -426,8 +428,7 @@ namespace WebSocketSharp { lock(_forClose) { // Whether the closing handshake has been started already? - if (_readyState == WsState.CLOSING || - _readyState == WsState.CLOSED) + if (_readyState == WsState.CLOSING || _readyState == WsState.CLOSED) return; // Whether the closing handshake on server is started before the connection has been established? @@ -1169,15 +1170,24 @@ namespace WebSocketSharp { private bool send(WsFrame frame) { - if (_readyState == WsState.CONNECTING || _readyState == WsState.CLOSED) + lock (_forFrame) { - onError("The WebSocket connection isn't established or has been closed."); - return false; - } + var ready = _wsStream == null + ? false + : _readyState == WsState.OPEN + ? true + : _readyState == WsState.CLOSING + ? frame.IsClose + : false; + + if (!ready) + { + onError("The WebSocket connection isn't established or has been closed."); + return false; + } - return _wsStream != null - ? _wsStream.Write(frame) - : false; + return _wsStream.Write(frame); + } } private void send(Opcode opcode, Stream stream) diff --git a/websocket-sharp/bin/Debug/websocket-sharp.dll b/websocket-sharp/bin/Debug/websocket-sharp.dll index 8c1a6d70..800d3ceb 100755 Binary files a/websocket-sharp/bin/Debug/websocket-sharp.dll and b/websocket-sharp/bin/Debug/websocket-sharp.dll differ diff --git a/websocket-sharp/bin/Debug_Ubuntu/websocket-sharp.dll b/websocket-sharp/bin/Debug_Ubuntu/websocket-sharp.dll index 0f292a36..8e14ee3f 100755 Binary files a/websocket-sharp/bin/Debug_Ubuntu/websocket-sharp.dll and b/websocket-sharp/bin/Debug_Ubuntu/websocket-sharp.dll differ diff --git a/websocket-sharp/bin/Release/websocket-sharp.dll b/websocket-sharp/bin/Release/websocket-sharp.dll index 98fb2755..1324645a 100755 Binary files a/websocket-sharp/bin/Release/websocket-sharp.dll and b/websocket-sharp/bin/Release/websocket-sharp.dll differ diff --git a/websocket-sharp/bin/Release_Ubuntu/websocket-sharp.dll b/websocket-sharp/bin/Release_Ubuntu/websocket-sharp.dll index bc20f551..68b9ca92 100755 Binary files a/websocket-sharp/bin/Release_Ubuntu/websocket-sharp.dll and b/websocket-sharp/bin/Release_Ubuntu/websocket-sharp.dll differ diff --git a/websocket-sharp/bin/Release_Ubuntu/websocket-sharp.xml b/websocket-sharp/bin/Release_Ubuntu/websocket-sharp.xml index ac79eaa0..5e544832 100644 --- a/websocket-sharp/bin/Release_Ubuntu/websocket-sharp.xml +++ b/websocket-sharp/bin/Release_Ubuntu/websocket-sharp.xml @@ -58,6 +58,41 @@ An array of that contains characters to find. + + + Determines whether the specified contains the entry + with the specified . + + + true if contains the entry with ; + otherwise, false. + + + A that contains the entries. + + + A that contains the key of the entry to find. + + + + + Determines whether the specified contains the entry + with the specified both and . + + + true if contains the entry with both and ; + otherwise, false. + + + A that contains the entries. + + + A that contains the key of the entry to find. + + + A that contains the value of the entry to find. + + Emit the specified delegate if is not . @@ -110,37 +145,6 @@ Is thrown when the parameter passed to a method is invalid because it is outside the allowable range of values as . - - - Determines whether the entry with the specified key exists in the specified . - - - true if the entry with the exists in the ; otherwise, false. - - - A that contains the entries. - - - A that contains the key of the entry to find. - - - - - Determines whether the entry with the specified both key and value exists in the specified . - - - true if the entry with the both and exists in the ; otherwise, false. - - - A that contains the entries. - - - A that contains the key of the entry to find. - - - A that contains the value of the entry to find. - - Gets the absolute path from the specified . @@ -558,31 +562,31 @@ Converts the specified array of to the specified type data. - A T converted from the , or a default value of T - if the is an empty array of - or if the types of T aren't the , , , + A T converted from , or a default value of T + if is an empty array of + or if the type of T isn't , , , , , , , - , , . + , or . An array of to convert. - A that indicates the byte order of the . + A that indicates the byte order of . - The type of the return value. The T must be a value type. + The type of the return. The T must be a value type. - Is thrown when the parameter passed to a method is invalid because it is . + is . - Converts the specified data to an array of . + Converts the specified to an array of . - An array of converted from the . + An array of converted from . A T to convert. @@ -591,7 +595,7 @@ A that indicates the byte order of the return. - The type of the . The T must be a value type. + The type of . The T must be a value type. @@ -599,26 +603,26 @@ Converts the order of the specified array of to the host byte order. - An array of converted from the . + An array of converted from . An array of to convert. - A that indicates the byte order of the . + A that indicates the byte order of . - Is thrown when the parameter passed to a method is invalid because it is . + is . - Converts the specified array to a concatenated the specified separator string - between each element of this array. + Converts the specified to a that concatenates + the each element of across the specified . - A converted from the parameter, or a - if the length of the is zero. + A converted from , or a + if the length of is zero. An array of T to convert. @@ -627,10 +631,10 @@ A that contains a separator string. - The type of elements in the . + The type of elements in . - Is thrown when the parameter passed to a method is invalid because it is . + is . @@ -943,7 +947,7 @@ Gets a value indicating whether the WebSocket connection is alive. - true if the connection is alive; otherwise, false. + true if the WebSocket connection is alive; otherwise, false. @@ -1065,21 +1069,21 @@ - Pings using the WebSocket connection. + Sends a Ping using the WebSocket connection. - true if the receives a Pong in a time; otherwise, false. + true if a instance receives a Pong in a time; otherwise, false. - Pings with the specified using the WebSocket connection. + Sends a Ping with the specified using the WebSocket connection. - A that contains a message. + A that contains a message to send with a Ping. - true if the receives a Pong in a time; otherwise, false. + true if a instance receives a Pong in a time; otherwise, false. diff --git a/websocket-sharp/doc/html/WebSocketSharp/Ext.html b/websocket-sharp/doc/html/WebSocketSharp/Ext.html index 9167bd04..11637cc3 100644 --- a/websocket-sharp/doc/html/WebSocketSharp/Ext.html +++ b/websocket-sharp/doc/html/WebSocketSharp/Ext.html @@ -259,10 +259,10 @@ - Contains - (this string, params char[]) : bool
- Determines whether the specified string contains any of characters - in the specified array of char. + Contains + (this System.Collections.Specialized.NameValueCollection, string) : bool
+ Determines whether the specified System.Collections.Specialized.NameValueCollection contains the entry + with the specified name.
@@ -271,9 +271,10 @@ - Emit - (this EventHandler, object, EventArgs)
- Emit the specified EventHandler delegate if is not null. + Contains + (this string, params char[]) : bool
+ Determines whether the specified string contains any of characters + in the specified array of char.
@@ -282,9 +283,10 @@ - Emit<TEventArgs> - (this EventHandler<TEventArgs>, object, TEventArgs)
- Emit the specified EventHandler<TEventArgs> delegate if is not null. + Contains + (this System.Collections.Specialized.NameValueCollection, string, string) : bool
+ Determines whether the specified System.Collections.Specialized.NameValueCollection contains the entry + with the specified both name and value.
@@ -293,10 +295,9 @@ - EqualsAndSaveTo - (this int, char, List<byte>) : bool
- Determines whether the specified int equals the specified char as byte. - And save this specified int as byte to the specified List<byte>. + Emit + (this EventHandler, object, EventArgs)
+ Emit the specified EventHandler delegate if is not null.
@@ -305,9 +306,9 @@ - Exists - (this System.Collections.Specialized.NameValueCollection, string) : bool
- Determines whether the entry with the specified key exists in the specified System.Collections.Specialized.NameValueCollection. + Emit<TEventArgs> + (this EventHandler<TEventArgs>, object, TEventArgs)
+ Emit the specified EventHandler<TEventArgs> delegate if is not null.
@@ -316,9 +317,10 @@ - Exists - (this System.Collections.Specialized.NameValueCollection, string, string) : bool
- Determines whether the entry with the specified both key and value exists in the specified System.Collections.Specialized.NameValueCollection. + EqualsAndSaveTo + (this int, char, List<byte>) : bool
+ Determines whether the specified int equals the specified char as byte. + And save this specified int as byte to the specified List<byte>.
@@ -662,7 +664,7 @@ To<T> - (this byte[], ByteOrder) : T
+ (this byte[], ByteOrder) : T
Converts the specified array of byte to the specified type data.
@@ -673,8 +675,8 @@ ToByteArray<T> - (this T, ByteOrder) : byte[]
- Converts the specified data to an array of byte. + (this T, ByteOrder) : byte[]
+ Converts the specified value to an array of byte.
@@ -695,9 +697,9 @@ ToString<T> - (this T[], string) : string
- Converts the specified array to a string concatenated the specified separator string - between each element of this array. + (this T[], string) : string
+ Converts the specified array to a string that concatenates + the each element of array across the specified separator.
@@ -873,6 +875,45 @@ Namespace: WebSocketSharp
Assembly: websocket-sharp (in websocket-sharp.dll)
+

Contains Method

+
+

+ Determines whether the specified System.Collections.Specialized.NameValueCollection contains the entry + with the specified name. +

+

Syntax

+
public static bool Contains (this System.Collections.Specialized.NameValueCollection collection, string name)
+

Parameters

+
+
+
+ collection +
+
+ A System.Collections.Specialized.NameValueCollection that contains the entries. +
+
+ name +
+
+ A string that contains the key of the entry to find. +
+
+
+

Returns

+
+ true if collection contains the entry with name; + otherwise, false. +
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: WebSocketSharp
Assembly: websocket-sharp (in websocket-sharp.dll)
+
+

Contains Method

@@ -911,6 +952,51 @@ Namespace: WebSocketSharp
Assembly: websocket-sharp (in websocket-sharp.dll)


+

Contains Method

+
+

+ Determines whether the specified System.Collections.Specialized.NameValueCollection contains the entry + with the specified both name and value. +

+

Syntax

+
public static bool Contains (this System.Collections.Specialized.NameValueCollection collection, string name, string value)
+

Parameters

+
+
+
+ collection +
+
+ A System.Collections.Specialized.NameValueCollection that contains the entries. +
+
+ name +
+
+ A string that contains the key of the entry to find. +
+
+ value +
+
+ A string that contains the value of the entry to find. +
+
+
+

Returns

+
+ true if collection contains the entry with both name and value; + otherwise, false. +
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: WebSocketSharp
Assembly: websocket-sharp (in websocket-sharp.dll)
+
+

Emit Method

@@ -1061,86 +1147,6 @@ Namespace: WebSocketSharp
Assembly: websocket-sharp (in websocket-sharp.dll)


-

Exists Method

-
-

- Determines whether the entry with the specified key exists in the specified System.Collections.Specialized.NameValueCollection. -

-

Syntax

-
public static bool Exists (this System.Collections.Specialized.NameValueCollection collection, string name)
-

Parameters

-
-
-
- collection -
-
- A System.Collections.Specialized.NameValueCollection that contains the entries. -
-
- name -
-
- A string that contains the key of the entry to find. -
-
-
-

Returns

-
- true if the entry with the name exists in the collection; otherwise, false. -
-

Remarks

-
- Documentation for this section has not yet been entered. -
-

Requirements

-
- Namespace: WebSocketSharp
Assembly: websocket-sharp (in websocket-sharp.dll)
-
-
-

Exists Method

-
-

- Determines whether the entry with the specified both key and value exists in the specified System.Collections.Specialized.NameValueCollection. -

-

Syntax

-
public static bool Exists (this System.Collections.Specialized.NameValueCollection collection, string name, string value)
-

Parameters

-
-
-
- collection -
-
- A System.Collections.Specialized.NameValueCollection that contains the entries. -
-
- name -
-
- A string that contains the key of the entry to find. -
-
- value -
-
- A string that contains the value of the entry to find. -
-
-
-

Returns

-
- true if the entry with the both name and value exists in the collection; otherwise, false. -
-

Remarks

-
- Documentation for this section has not yet been entered. -
-

Requirements

-
- Namespace: WebSocketSharp
Assembly: websocket-sharp (in websocket-sharp.dll)
-
-

GetAbsolutePath Method

@@ -2258,7 +2264,7 @@ Converts the specified array of byte to the specified type data.

Syntax

-
public static T To<T> (this byte[] src, ByteOrder srcOrder)
where T : struct
+
public static T To<T> (this byte[] src, ByteOrder srcOrder)
where T : struct

Type Parameters

@@ -2266,7 +2272,7 @@ T
- The type of the return value. The T must be a value type. + The type of the return. The T must be a value type.
@@ -2283,17 +2289,17 @@ srcOrder
- A WebSocketSharp.ByteOrder that indicates the byte order of the src. + A WebSocketSharp.ByteOrder that indicates the byte order of src.

Returns

- A T converted from the src, or a default value of T - if the src is an empty array of byte - or if the types of T aren't the bool, char, double, + A T converted from src, or a default value of T + if src is an empty array of byte + or if the type of T isn't bool, char, double, float, int, long, short, - uint, ulong, ushort. + uint, ulong or ushort.

Exceptions

@@ -2307,7 +2313,7 @@ ArgumentNullException - Is thrown when the src parameter passed to a method is invalid because it is null. + src is null. @@ -2324,10 +2330,10 @@

ToByteArray<T> Generic Method

- Converts the specified data to an array of byte. + Converts the specified value to an array of byte.

Syntax

-
public static byte[] ToByteArray<T> (this T value, ByteOrder order)
where T : struct
+
public static byte[] ToByteArray<T> (this T value, ByteOrder order)
where T : struct

Type Parameters

@@ -2335,7 +2341,7 @@ T
- The type of the value. The T must be a value type. + The type of value. The T must be a value type.
@@ -2358,7 +2364,7 @@

Returns

- An array of byte converted from the value. + An array of byte converted from value.

Remarks

@@ -2389,13 +2395,13 @@ srcOrder
- A WebSocketSharp.ByteOrder that indicates the byte order of the src. + A WebSocketSharp.ByteOrder that indicates the byte order of src.

Returns

- An array of byte converted from the src. + An array of byte converted from src.

Exceptions

@@ -2409,7 +2415,7 @@ ArgumentNullException - Is thrown when the src parameter passed to a method is invalid because it is null. + src is null. @@ -2426,11 +2432,11 @@

ToString<T> Generic Method

- Converts the specified array to a string concatenated the specified separator string - between each element of this array. + Converts the specified array to a string that concatenates + the each element of array across the specified separator.

Syntax

-
public static string ToString<T> (this T[] array, string separator)
+
public static string ToString<T> (this T[] array, string separator)

Type Parameters

@@ -2438,7 +2444,7 @@ T
- The type of elements in the array. + The type of elements in array.
@@ -2461,8 +2467,8 @@

Returns

- A string converted from the array parameter, or a string.Empty - if the length of the array is zero. + A string converted from array, or a string.Empty + if the length of array is zero.

Exceptions

@@ -2476,7 +2482,7 @@ ArgumentNullException - Is thrown when the array parameter passed to a method is invalid because it is null. + array is null. diff --git a/websocket-sharp/doc/html/WebSocketSharp/WebSocket.html b/websocket-sharp/doc/html/WebSocketSharp/WebSocket.html index e7637c02..88040efb 100644 --- a/websocket-sharp/doc/html/WebSocketSharp/WebSocket.html +++ b/websocket-sharp/doc/html/WebSocketSharp/WebSocket.html @@ -506,7 +506,7 @@ Ping () : bool
- Pings using the WebSocket connection. + Sends a Ping using the WebSocket connection.
@@ -518,7 +518,7 @@ Ping (string) : bool
- Pings with the specified message using the WebSocket connection. + Sends a Ping with the specified message using the WebSocket connection.
@@ -671,36 +671,6 @@ -

Extension Methods

-
-
- - - - - - - - - -
-
static
-
- - IsNull<T> - (this T) : bool
- Determines whether the specified object is null. -
-
static
-
- - IsNullDo<T> - (this T, Action) : bool
- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. -
-
-
@@ -1092,7 +1062,7 @@
public bool IsAlive { get; }

Value

- true if the connection is alive; otherwise, false. + true if the WebSocket connection is alive; otherwise, false.

Remarks

@@ -1216,13 +1186,13 @@

Ping Method

- Pings using the WebSocket connection. + Sends a Ping using the WebSocket connection.

Syntax

public bool Ping ()

Returns

- true if the WebSocketSharp.WebSocket receives a Pong in a time; otherwise, false. + true if a WebSocketSharp.WebSocket instance receives a Pong in a time; otherwise, false.

Remarks

@@ -1236,7 +1206,7 @@

Ping Method

- Pings with the specified message using the WebSocket connection. + Sends a Ping with the specified message using the WebSocket connection.

Syntax

public bool Ping (string message)
@@ -1247,13 +1217,13 @@ message
- A string that contains a message. + A string that contains a message to send with a Ping.

Returns

- true if the WebSocketSharp.WebSocket receives a Pong in a time; otherwise, false. + true if a WebSocketSharp.WebSocket instance receives a Pong in a time; otherwise, false.

Remarks

diff --git a/websocket-sharp/doc/mdoc/WebSocketSharp/Ext.xml b/websocket-sharp/doc/mdoc/WebSocketSharp/Ext.xml index fe46f53c..d5e2a348 100644 --- a/websocket-sharp/doc/mdoc/WebSocketSharp/Ext.xml +++ b/websocket-sharp/doc/mdoc/WebSocketSharp/Ext.xml @@ -76,6 +76,35 @@ + + + + Method + + System.Boolean + + + + + + + + A that contains the entries. + + + A that contains the key of the entry to find. + + + Determines whether the specified contains the entry + with the specified . + + + true if contains the entry with ; + otherwise, false. + + To be added. + + @@ -110,6 +139,39 @@ To be added. + + + + Method + + System.Boolean + + + + + + + + + A that contains the entries. + + + A that contains the key of the entry to find. + + + A that contains the value of the entry to find. + + + Determines whether the specified contains the entry + with the specified both and . + + + true if contains the entry with both and ; + otherwise, false. + + To be added. + + @@ -211,64 +273,6 @@ - - - - Method - - System.Boolean - - - - - - - - A that contains the entries. - - - A that contains the key of the entry to find. - - - Determines whether the entry with the specified key exists in the specified . - - - true if the entry with the exists in the ; otherwise, false. - - To be added. - - - - - - Method - - System.Boolean - - - - - - - - - A that contains the entries. - - - A that contains the key of the entry to find. - - - A that contains the value of the entry to find. - - - Determines whether the entry with the specified both key and value exists in the specified . - - - true if the entry with the both and exists in the ; otherwise, false. - - To be added. - - @@ -1088,27 +1092,27 @@ - The type of the return value. The T must be a value type. + The type of the return. The T must be a value type. An array of to convert. - A that indicates the byte order of the . + A that indicates the byte order of . Converts the specified array of to the specified type data. - A T converted from the , or a default value of T - if the is an empty array of - or if the types of T aren't the , , , + A T converted from , or a default value of T + if is an empty array of + or if the type of T isn't , , , , , , , - , , . + , or . To be added. - Is thrown when the parameter passed to a method is invalid because it is . + is . @@ -1134,7 +1138,7 @@ - The type of the . The T must be a value type. + The type of . The T must be a value type. A T to convert. @@ -1143,10 +1147,10 @@ A that indicates the byte order of the return. - Converts the specified data to an array of . + Converts the specified to an array of . - An array of converted from the . + An array of converted from . To be added. @@ -1167,17 +1171,17 @@ An array of to convert. - A that indicates the byte order of the . + A that indicates the byte order of . Converts the order of the specified array of to the host byte order. - An array of converted from the . + An array of converted from . To be added. - Is thrown when the parameter passed to a method is invalid because it is . + is . @@ -1197,7 +1201,7 @@ - The type of elements in the . + The type of elements in . An array of T to convert. @@ -1206,16 +1210,16 @@ A that contains a separator string. - Converts the specified array to a concatenated the specified separator string - between each element of this array. + Converts the specified to a that concatenates + the each element of across the specified . - A converted from the parameter, or a - if the length of the is zero. + A converted from , or a + if the length of is zero. To be added. - Is thrown when the parameter passed to a method is invalid because it is . + is . diff --git a/websocket-sharp/doc/mdoc/WebSocketSharp/WebSocket.xml b/websocket-sharp/doc/mdoc/WebSocketSharp/WebSocket.xml index 460ac32a..3adc61f9 100644 --- a/websocket-sharp/doc/mdoc/WebSocketSharp/WebSocket.xml +++ b/websocket-sharp/doc/mdoc/WebSocketSharp/WebSocket.xml @@ -318,7 +318,7 @@ Gets a value indicating whether the WebSocket connection is alive. - true if the connection is alive; otherwise, false. + true if the WebSocket connection is alive; otherwise, false. To be added. @@ -431,10 +431,10 @@ - Pings using the WebSocket connection. + Sends a Ping using the WebSocket connection. - true if the receives a Pong in a time; otherwise, false. + true if a instance receives a Pong in a time; otherwise, false. To be added. @@ -451,13 +451,13 @@ - A that contains a message. + A that contains a message to send with a Ping. - Pings with the specified using the WebSocket connection. + Sends a Ping with the specified using the WebSocket connection. - true if the receives a Pong in a time; otherwise, false. + true if a instance receives a Pong in a time; otherwise, false. To be added. diff --git a/websocket-sharp/doc/mdoc/index.xml b/websocket-sharp/doc/mdoc/index.xml index 526bf519..6105e709 100644 --- a/websocket-sharp/doc/mdoc/index.xml +++ b/websocket-sharp/doc/mdoc/index.xml @@ -1,6 +1,6 @@ - + [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 11 00 00 00 29 17 fb 89 fe c3 91 f7 2b cb 8b e2 61 d2 3f 05 93 6d 65 a8 9e 63 72 a6 f5 d5 2c f2 9d 20 fa 0b c0 70 6a f6 88 7e 8b 90 3f 39 f5 76 c8 48 e0 bb 7b b2 7b ed d3 10 a7 1a 0f 70 98 0f 7f f4 4b 53 09 d2 a5 ef 36 c3 56 b4 aa f0 91 72 63 25 07 89 e0 93 3e 3f 2e f2 b9 73 0e 12 15 5d 43 56 c3 f4 70 a5 89 fe f7 f6 ac 3e 77 c2 d8 d0 84 91 f4 0c d1 f3 8e dc c3 c3 b8 38 3d 0c bf 17 de 20 78 c1 ] @@ -142,6 +142,70 @@ + + + + + + + + ExtensionMethod + + System.Boolean + + + + + + + + A that contains the entries. + + + A that contains the key of the entry to find. + + + Determines whether the specified contains the entry + with the specified . + + + + + + + + + + + + + ExtensionMethod + + System.Boolean + + + + + + + + + A that contains the entries. + + + A that contains the key of the entry to find. + + + A that contains the value of the entry to find. + + + Determines whether the specified contains the entry + with the specified both and . + + + + + @@ -288,68 +352,6 @@ - - - - - - - - ExtensionMethod - - System.Boolean - - - - - - - - A that contains the entries. - - - A that contains the key of the entry to find. - - - Determines whether the entry with the specified key exists in the specified . - - - - - - - - - - - - - ExtensionMethod - - System.Boolean - - - - - - - - - A that contains the entries. - - - A that contains the key of the entry to find. - - - A that contains the value of the entry to find. - - - Determines whether the entry with the specified both key and value exists in the specified . - - - - - @@ -1233,13 +1235,13 @@ - The type of the return value. The T must be a value type. + The type of the return. The T must be a value type. An array of to convert. - A that indicates the byte order of the . + A that indicates the byte order of . Converts the specified array of to the specified type data. @@ -1274,7 +1276,7 @@ - The type of the . The T must be a value type. + The type of . The T must be a value type. A T to convert. @@ -1283,7 +1285,7 @@ A that indicates the byte order of the return. - Converts the specified data to an array of . + Converts the specified to an array of . @@ -1309,7 +1311,7 @@ An array of to convert. - A that indicates the byte order of the . + A that indicates the byte order of . Converts the order of the specified array of to the host byte order. @@ -1338,7 +1340,7 @@ - The type of elements in the . + The type of elements in . An array of T to convert. @@ -1347,8 +1349,8 @@ A that contains a separator string. - Converts the specified array to a concatenated the specified separator string - between each element of this array. + Converts the specified to a that concatenates + the each element of across the specified .