Modified WebSocket.cs
This commit is contained in:
@@ -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;
|
||||
|
||||
return _wsStream != null
|
||||
? _wsStream.Write(frame)
|
||||
: false;
|
||||
if (!ready)
|
||||
{
|
||||
onError("The WebSocket connection isn't established or has been closed.");
|
||||
return false;
|
||||
}
|
||||
|
||||
return _wsStream.Write(frame);
|
||||
}
|
||||
}
|
||||
|
||||
private void send(Opcode opcode, Stream stream)
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -58,6 +58,41 @@
|
||||
An array of <see cref="T:System.Char" /> that contains characters to find.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Ext.Contains(System.Collections.Specialized.NameValueCollection,System.String)">
|
||||
<summary>
|
||||
Determines whether the specified <see cref="T:System.Collections.Specialized.NameValueCollection" /> contains the entry
|
||||
with the specified <paramref name="name" />.
|
||||
</summary>
|
||||
<returns>
|
||||
<c>true</c> if <paramref name="collection" /> contains the entry with <paramref name="name" />;
|
||||
otherwise, <c>false</c>.
|
||||
</returns>
|
||||
<param name="collection">
|
||||
A <see cref="T:System.Collections.Specialized.NameValueCollection" /> that contains the entries.
|
||||
</param>
|
||||
<param name="name">
|
||||
A <see cref="T:System.String" /> that contains the key of the entry to find.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Ext.Contains(System.Collections.Specialized.NameValueCollection,System.String,System.String)">
|
||||
<summary>
|
||||
Determines whether the specified <see cref="T:System.Collections.Specialized.NameValueCollection" /> contains the entry
|
||||
with the specified both <paramref name="name" /> and <paramref name="value" />.
|
||||
</summary>
|
||||
<returns>
|
||||
<c>true</c> if <paramref name="collection" /> contains the entry with both <paramref name="name" /> and <paramref name="value" />;
|
||||
otherwise, <c>false</c>.
|
||||
</returns>
|
||||
<param name="collection">
|
||||
A <see cref="T:System.Collections.Specialized.NameValueCollection" /> that contains the entries.
|
||||
</param>
|
||||
<param name="name">
|
||||
A <see cref="T:System.String" /> that contains the key of the entry to find.
|
||||
</param>
|
||||
<param name="value">
|
||||
A <see cref="T:System.String" /> that contains the value of the entry to find.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Ext.Emit(System.EventHandler,System.Object,System.EventArgs)">
|
||||
<summary>
|
||||
Emit the specified <see cref="T:System.EventHandler" /> delegate if is not <see langword="null" />.
|
||||
@@ -110,37 +145,6 @@
|
||||
Is thrown when the <paramref name="value" /> parameter passed to a method is invalid because it is outside the allowable range of values as <see cref="T:System.Byte" />.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Ext.Exists(System.Collections.Specialized.NameValueCollection,System.String)">
|
||||
<summary>
|
||||
Determines whether the entry with the specified key exists in the specified <see cref="T:System.Collections.Specialized.NameValueCollection" />.
|
||||
</summary>
|
||||
<returns>
|
||||
<c>true</c> if the entry with the <paramref name="name" /> exists in the <paramref name="collection" />; otherwise, <c>false</c>.
|
||||
</returns>
|
||||
<param name="collection">
|
||||
A <see cref="T:System.Collections.Specialized.NameValueCollection" /> that contains the entries.
|
||||
</param>
|
||||
<param name="name">
|
||||
A <see cref="T:System.String" /> that contains the key of the entry to find.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Ext.Exists(System.Collections.Specialized.NameValueCollection,System.String,System.String)">
|
||||
<summary>
|
||||
Determines whether the entry with the specified both key and value exists in the specified <see cref="T:System.Collections.Specialized.NameValueCollection" />.
|
||||
</summary>
|
||||
<returns>
|
||||
<c>true</c> if the entry with the both <paramref name="name" /> and <paramref name="value" /> exists in the <paramref name="collection" />; otherwise, <c>false</c>.
|
||||
</returns>
|
||||
<param name="collection">
|
||||
A <see cref="T:System.Collections.Specialized.NameValueCollection" /> that contains the entries.
|
||||
</param>
|
||||
<param name="name">
|
||||
A <see cref="T:System.String" /> that contains the key of the entry to find.
|
||||
</param>
|
||||
<param name="value">
|
||||
A <see cref="T:System.String" /> that contains the value of the entry to find.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Ext.GetAbsolutePath(System.Uri)">
|
||||
<summary>
|
||||
Gets the absolute path from the specified <see cref="T:System.Uri" />.
|
||||
@@ -558,31 +562,31 @@
|
||||
Converts the specified array of <see cref="T:System.Byte" /> to the specified type data.
|
||||
</summary>
|
||||
<returns>
|
||||
A T converted from the <paramref name="src" />, or a default value of T
|
||||
if the <paramref name="src" /> is an empty array of <see cref="T:System.Byte" />
|
||||
or if the types of T aren't the <see cref="T:System.Boolean" />, <see cref="T:System.Char" />, <see cref="T:System.Double" />,
|
||||
A T converted from <paramref name="src" />, or a default value of T
|
||||
if <paramref name="src" /> is an empty array of <see cref="T:System.Byte" />
|
||||
or if the type of T isn't <see cref="T:System.Boolean" />, <see cref="T:System.Char" />, <see cref="T:System.Double" />,
|
||||
<see cref="T:System.Single" />, <see cref="T:System.Int32" />, <see cref="T:System.Int64" />, <see cref="T:System.Int16" />,
|
||||
<see cref="T:System.UInt32" />, <see cref="T:System.UInt64" />, <see cref="T:System.UInt16" />.
|
||||
<see cref="T:System.UInt32" />, <see cref="T:System.UInt64" /> or <see cref="T:System.UInt16" />.
|
||||
</returns>
|
||||
<param name="src">
|
||||
An array of <see cref="T:System.Byte" /> to convert.
|
||||
</param>
|
||||
<param name="srcOrder">
|
||||
A <see cref="T:WebSocketSharp.ByteOrder" /> that indicates the byte order of the <paramref name="src" />.
|
||||
A <see cref="T:WebSocketSharp.ByteOrder" /> that indicates the byte order of <paramref name="src" />.
|
||||
</param>
|
||||
<typeparam name="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.
|
||||
</typeparam>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Is thrown when the <paramref name="src" /> parameter passed to a method is invalid because it is <see langword="null" />.
|
||||
<paramref name="src" /> is <see langword="null" />.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Ext.ToByteArray``1(``0,WebSocketSharp.ByteOrder)">
|
||||
<summary>
|
||||
Converts the specified data to an array of <see cref="T:System.Byte" />.
|
||||
Converts the specified <paramref name="value" /> to an array of <see cref="T:System.Byte" />.
|
||||
</summary>
|
||||
<returns>
|
||||
An array of <see cref="T:System.Byte" /> converted from the <paramref name="value" />.
|
||||
An array of <see cref="T:System.Byte" /> converted from <paramref name="value" />.
|
||||
</returns>
|
||||
<param name="value">
|
||||
A T to convert.
|
||||
@@ -591,7 +595,7 @@
|
||||
A <see cref="T:WebSocketSharp.ByteOrder" /> that indicates the byte order of the return.
|
||||
</param>
|
||||
<typeparam name="T">
|
||||
The type of the <paramref name="value" />. The T must be a value type.
|
||||
The type of <paramref name="value" />. The T must be a value type.
|
||||
</typeparam>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Ext.ToHostOrder(System.Byte[],WebSocketSharp.ByteOrder)">
|
||||
@@ -599,26 +603,26 @@
|
||||
Converts the order of the specified array of <see cref="T:System.Byte" /> to the host byte order.
|
||||
</summary>
|
||||
<returns>
|
||||
An array of <see cref="T:System.Byte" /> converted from the <paramref name="src" />.
|
||||
An array of <see cref="T:System.Byte" /> converted from <paramref name="src" />.
|
||||
</returns>
|
||||
<param name="src">
|
||||
An array of <see cref="T:System.Byte" /> to convert.
|
||||
</param>
|
||||
<param name="srcOrder">
|
||||
A <see cref="T:WebSocketSharp.ByteOrder" /> that indicates the byte order of the <paramref name="src" />.
|
||||
A <see cref="T:WebSocketSharp.ByteOrder" /> that indicates the byte order of <paramref name="src" />.
|
||||
</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Is thrown when the <paramref name="src" /> parameter passed to a method is invalid because it is <see langword="null" />.
|
||||
<paramref name="src" /> is <see langword="null" />.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Ext.ToString``1(``0[],System.String)">
|
||||
<summary>
|
||||
Converts the specified array to a <see cref="T:System.String" /> concatenated the specified separator string
|
||||
between each element of this array.
|
||||
Converts the specified <paramref name="array" /> to a <see cref="T:System.String" /> that concatenates
|
||||
the each element of <paramref name="array" /> across the specified <paramref name="separator" />.
|
||||
</summary>
|
||||
<returns>
|
||||
A <see cref="T:System.String" /> converted from the <paramref name="array" /> parameter, or a <see cref="F:System.String.Empty" />
|
||||
if the length of the <paramref name="array" /> is zero.
|
||||
A <see cref="T:System.String" /> converted from <paramref name="array" />, or a <see cref="F:System.String.Empty" />
|
||||
if the length of <paramref name="array" /> is zero.
|
||||
</returns>
|
||||
<param name="array">
|
||||
An array of T to convert.
|
||||
@@ -627,10 +631,10 @@
|
||||
A <see cref="T:System.String" /> that contains a separator string.
|
||||
</param>
|
||||
<typeparam name="T">
|
||||
The type of elements in the <paramref name="array" />.
|
||||
The type of elements in <paramref name="array" />.
|
||||
</typeparam>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Is thrown when the <paramref name="array" /> parameter passed to a method is invalid because it is <see langword="null" />.
|
||||
<paramref name="array" /> is <see langword="null" />.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Ext.ToUri(System.String)">
|
||||
@@ -943,7 +947,7 @@
|
||||
Gets a value indicating whether the WebSocket connection is alive.
|
||||
</summary>
|
||||
<value>
|
||||
<c>true</c> if the connection is alive; otherwise, <c>false</c>.
|
||||
<c>true</c> if the WebSocket connection is alive; otherwise, <c>false</c>.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:WebSocketSharp.WebSocket.IsSecure">
|
||||
@@ -1065,21 +1069,21 @@
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.WebSocket.Ping">
|
||||
<summary>
|
||||
Pings using the WebSocket connection.
|
||||
Sends a Ping using the WebSocket connection.
|
||||
</summary>
|
||||
<returns>
|
||||
<c>true</c> if the <see cref="T:WebSocketSharp.WebSocket" /> receives a Pong in a time; otherwise, <c>false</c>.
|
||||
<c>true</c> if a <see cref="T:WebSocketSharp.WebSocket" /> instance receives a Pong in a time; otherwise, <c>false</c>.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.WebSocket.Ping(System.String)">
|
||||
<summary>
|
||||
Pings with the specified <paramref name="message" /> using the WebSocket connection.
|
||||
Sends a Ping with the specified <paramref name="message" /> using the WebSocket connection.
|
||||
</summary>
|
||||
<param name="message">
|
||||
A <see cref="T:System.String" /> that contains a message.
|
||||
A <see cref="T:System.String" /> that contains a message to send with a Ping.
|
||||
</param>
|
||||
<returns>
|
||||
<c>true</c> if the <see cref="T:WebSocketSharp.WebSocket" /> receives a Pong in a time; otherwise, <c>false</c>.
|
||||
<c>true</c> if a <see cref="T:WebSocketSharp.WebSocket" /> instance receives a Pong in a time; otherwise, <c>false</c>.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.WebSocket.Send(System.Byte[])">
|
||||
|
@@ -251,6 +251,18 @@
|
||||
<a href="#M:WebSocketSharp.Ext.AcceptWebSocketAsync(System.Net.Sockets.TcpListener,System.Boolean,System.Action{WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext})">AcceptWebSocketAsync</a>
|
||||
</b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.Sockets.TcpListener">System.Net.Sockets.TcpListener</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action`1">Action<WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext></a>)<blockquote>
|
||||
Accepts a WebSocket connection asynchronously by the <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.Sockets.TcpListener">System.Net.Sockets.TcpListener</a>.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div>static </div>
|
||||
</td>
|
||||
<td colspan="2">
|
||||
<b>
|
||||
<a href="#M:WebSocketSharp.Ext.Contains(System.Collections.Specialized.NameValueCollection,System.String)">Contains</a>
|
||||
</b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameValueCollection">System.Collections.Specialized.NameValueCollection</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
|
||||
Determines whether the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameValueCollection">System.Collections.Specialized.NameValueCollection</a> contains the entry
|
||||
with the specified <i>name</i>.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -263,6 +275,18 @@
|
||||
</b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>, <b>params</b> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Char">char</a>[])<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
|
||||
Determines whether the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> contains any of characters
|
||||
in the specified array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Char">char</a>.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div>static </div>
|
||||
</td>
|
||||
<td colspan="2">
|
||||
<b>
|
||||
<a href="#M:WebSocketSharp.Ext.Contains(System.Collections.Specialized.NameValueCollection,System.String,System.String)">Contains</a>
|
||||
</b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameValueCollection">System.Collections.Specialized.NameValueCollection</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
|
||||
Determines whether the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameValueCollection">System.Collections.Specialized.NameValueCollection</a> contains the entry
|
||||
with the specified both <i>name</i> and <i>value</i>.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -297,28 +321,6 @@
|
||||
</b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Char">char</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.List`1">List<byte></a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
|
||||
Determines whether the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> equals the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Char">char</a> as <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a>.
|
||||
And save this specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> as <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a> to the specified List<byte>.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div>static </div>
|
||||
</td>
|
||||
<td colspan="2">
|
||||
<b>
|
||||
<a href="#M:WebSocketSharp.Ext.Exists(System.Collections.Specialized.NameValueCollection,System.String)">Exists</a>
|
||||
</b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameValueCollection">System.Collections.Specialized.NameValueCollection</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
|
||||
Determines whether the entry with the specified key exists in the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameValueCollection">System.Collections.Specialized.NameValueCollection</a>.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div>static </div>
|
||||
</td>
|
||||
<td colspan="2">
|
||||
<b>
|
||||
<a href="#M:WebSocketSharp.Ext.Exists(System.Collections.Specialized.NameValueCollection,System.String,System.String)">Exists</a>
|
||||
</b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameValueCollection">System.Collections.Specialized.NameValueCollection</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
|
||||
Determines whether the entry with the specified both key and value exists in the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameValueCollection">System.Collections.Specialized.NameValueCollection</a>.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -662,7 +664,7 @@
|
||||
<td colspan="2">
|
||||
<b>
|
||||
<a href="#M:WebSocketSharp.Ext.To``1(System.Byte[],WebSocketSharp.ByteOrder)">To<T></a>
|
||||
</b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a>[], <a href="../WebSocketSharp/ByteOrder.html">ByteOrder</a>)<nobr> : <i title="
 The type of the return value. The T must be a value type.
 ">T</i></nobr><blockquote>
|
||||
</b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a>[], <a href="../WebSocketSharp/ByteOrder.html">ByteOrder</a>)<nobr> : <i title="
 The type of the return. The T must be a value type.
 ">T</i></nobr><blockquote>
|
||||
Converts the specified array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a> to the specified type data.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
@@ -673,8 +675,8 @@
|
||||
<td colspan="2">
|
||||
<b>
|
||||
<a href="#M:WebSocketSharp.Ext.ToByteArray``1(``0,WebSocketSharp.ByteOrder)">ToByteArray<T></a>
|
||||
</b>(<i>this</i> <i title="
 The type of the . The T must be a value type.
 ">T</i>, <a href="../WebSocketSharp/ByteOrder.html">ByteOrder</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a>[]</nobr><blockquote>
|
||||
Converts the specified data to an array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a>.
|
||||
</b>(<i>this</i> <i title="
 The type of . The T must be a value type.
 ">T</i>, <a href="../WebSocketSharp/ByteOrder.html">ByteOrder</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a>[]</nobr><blockquote>
|
||||
Converts the specified <i>value</i> to an array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a>.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -695,9 +697,9 @@
|
||||
<td colspan="2">
|
||||
<b>
|
||||
<a href="#M:WebSocketSharp.Ext.ToString``1(``0[],System.String)">ToString<T></a>
|
||||
</b>(<i>this</i> <i title="
 The type of elements in the .
 ">T</i>[], <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a></nobr><blockquote>
|
||||
Converts the specified array to a <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> concatenated the specified separator string
|
||||
between each element of this array.
|
||||
</b>(<i>this</i> <i title="
 The type of elements in .
 ">T</i>[], <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a></nobr><blockquote>
|
||||
Converts the specified <i>array</i> to a <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that concatenates
|
||||
the each element of <i>array</i> across the specified <i>separator</i>.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -873,6 +875,45 @@
|
||||
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="M:WebSocketSharp.Ext.Contains(System.Collections.Specialized.NameValueCollection,System.String)">Contains Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.Ext.Contains(System.Collections.Specialized.NameValueCollection,System.String):member">
|
||||
<p class="Summary">
|
||||
Determines whether the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameValueCollection">System.Collections.Specialized.NameValueCollection</a> contains the entry
|
||||
with the specified <i>name</i>.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Contains</b> (<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameValueCollection">System.Collections.Specialized.NameValueCollection</a> collection, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> name)</div>
|
||||
<h4 class="Subsection">Parameters</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.Contains(System.Collections.Specialized.NameValueCollection,System.String):Parameters">
|
||||
<dl>
|
||||
<dt>
|
||||
<i>collection</i>
|
||||
</dt>
|
||||
<dd>
|
||||
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameValueCollection">System.Collections.Specialized.NameValueCollection</a> that contains the entries.
|
||||
</dd>
|
||||
<dt>
|
||||
<i>name</i>
|
||||
</dt>
|
||||
<dd>
|
||||
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the key of the entry to find.
|
||||
</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Returns</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.Contains(System.Collections.Specialized.NameValueCollection,System.String):Returns">
|
||||
<tt>true</tt> if <i>collection</i> contains the entry with <i>name</i>;
|
||||
otherwise, <tt>false</tt>.
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="M:WebSocketSharp.Ext.Contains(System.Collections.Specialized.NameValueCollection,System.String):Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="M:WebSocketSharp.Ext.Contains(System.Collections.Specialized.NameValueCollection,System.String):Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="M:WebSocketSharp.Ext.Contains(System.String,System.Char[])">Contains Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.Ext.Contains(System.String,System.Char[]):member">
|
||||
<p class="Summary">
|
||||
@@ -911,6 +952,51 @@
|
||||
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="M:WebSocketSharp.Ext.Contains(System.Collections.Specialized.NameValueCollection,System.String,System.String)">Contains Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.Ext.Contains(System.Collections.Specialized.NameValueCollection,System.String,System.String):member">
|
||||
<p class="Summary">
|
||||
Determines whether the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameValueCollection">System.Collections.Specialized.NameValueCollection</a> contains the entry
|
||||
with the specified both <i>name</i> and <i>value</i>.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Contains</b> (<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameValueCollection">System.Collections.Specialized.NameValueCollection</a> collection, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> name, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> value)</div>
|
||||
<h4 class="Subsection">Parameters</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.Contains(System.Collections.Specialized.NameValueCollection,System.String,System.String):Parameters">
|
||||
<dl>
|
||||
<dt>
|
||||
<i>collection</i>
|
||||
</dt>
|
||||
<dd>
|
||||
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameValueCollection">System.Collections.Specialized.NameValueCollection</a> that contains the entries.
|
||||
</dd>
|
||||
<dt>
|
||||
<i>name</i>
|
||||
</dt>
|
||||
<dd>
|
||||
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the key of the entry to find.
|
||||
</dd>
|
||||
<dt>
|
||||
<i>value</i>
|
||||
</dt>
|
||||
<dd>
|
||||
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the value of the entry to find.
|
||||
</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Returns</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.Contains(System.Collections.Specialized.NameValueCollection,System.String,System.String):Returns">
|
||||
<tt>true</tt> if <i>collection</i> contains the entry with both <i>name</i> and <i>value</i>;
|
||||
otherwise, <tt>false</tt>.
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="M:WebSocketSharp.Ext.Contains(System.Collections.Specialized.NameValueCollection,System.String,System.String):Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="M:WebSocketSharp.Ext.Contains(System.Collections.Specialized.NameValueCollection,System.String,System.String):Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="M:WebSocketSharp.Ext.Emit(System.EventHandler,System.Object,System.EventArgs)">Emit Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.Ext.Emit(System.EventHandler,System.Object,System.EventArgs):member">
|
||||
<p class="Summary">
|
||||
@@ -1061,86 +1147,6 @@
|
||||
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="M:WebSocketSharp.Ext.Exists(System.Collections.Specialized.NameValueCollection,System.String)">Exists Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.Ext.Exists(System.Collections.Specialized.NameValueCollection,System.String):member">
|
||||
<p class="Summary">
|
||||
Determines whether the entry with the specified key exists in the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameValueCollection">System.Collections.Specialized.NameValueCollection</a>.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Exists</b> (<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameValueCollection">System.Collections.Specialized.NameValueCollection</a> collection, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> name)</div>
|
||||
<h4 class="Subsection">Parameters</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.Exists(System.Collections.Specialized.NameValueCollection,System.String):Parameters">
|
||||
<dl>
|
||||
<dt>
|
||||
<i>collection</i>
|
||||
</dt>
|
||||
<dd>
|
||||
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameValueCollection">System.Collections.Specialized.NameValueCollection</a> that contains the entries.
|
||||
</dd>
|
||||
<dt>
|
||||
<i>name</i>
|
||||
</dt>
|
||||
<dd>
|
||||
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the key of the entry to find.
|
||||
</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Returns</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.Exists(System.Collections.Specialized.NameValueCollection,System.String):Returns">
|
||||
<tt>true</tt> if the entry with the <i>name</i> exists in the <i>collection</i>; otherwise, <tt>false</tt>.
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="M:WebSocketSharp.Ext.Exists(System.Collections.Specialized.NameValueCollection,System.String):Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="M:WebSocketSharp.Ext.Exists(System.Collections.Specialized.NameValueCollection,System.String):Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="M:WebSocketSharp.Ext.Exists(System.Collections.Specialized.NameValueCollection,System.String,System.String)">Exists Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.Ext.Exists(System.Collections.Specialized.NameValueCollection,System.String,System.String):member">
|
||||
<p class="Summary">
|
||||
Determines whether the entry with the specified both key and value exists in the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameValueCollection">System.Collections.Specialized.NameValueCollection</a>.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Exists</b> (<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameValueCollection">System.Collections.Specialized.NameValueCollection</a> collection, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> name, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> value)</div>
|
||||
<h4 class="Subsection">Parameters</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.Exists(System.Collections.Specialized.NameValueCollection,System.String,System.String):Parameters">
|
||||
<dl>
|
||||
<dt>
|
||||
<i>collection</i>
|
||||
</dt>
|
||||
<dd>
|
||||
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameValueCollection">System.Collections.Specialized.NameValueCollection</a> that contains the entries.
|
||||
</dd>
|
||||
<dt>
|
||||
<i>name</i>
|
||||
</dt>
|
||||
<dd>
|
||||
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the key of the entry to find.
|
||||
</dd>
|
||||
<dt>
|
||||
<i>value</i>
|
||||
</dt>
|
||||
<dd>
|
||||
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the value of the entry to find.
|
||||
</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Returns</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.Exists(System.Collections.Specialized.NameValueCollection,System.String,System.String):Returns">
|
||||
<tt>true</tt> if the entry with the both <i>name</i> and <i>value</i> exists in the <i>collection</i>; otherwise, <tt>false</tt>.
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="M:WebSocketSharp.Ext.Exists(System.Collections.Specialized.NameValueCollection,System.String,System.String):Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="M:WebSocketSharp.Ext.Exists(System.Collections.Specialized.NameValueCollection,System.String,System.String):Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="M:WebSocketSharp.Ext.GetAbsolutePath(System.Uri)">GetAbsolutePath Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.Ext.GetAbsolutePath(System.Uri):member">
|
||||
<p class="Summary">
|
||||
@@ -2258,7 +2264,7 @@
|
||||
Converts the specified array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a> to the specified type data.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public static <i title="
 The type of the return value. The T must be a value type.
 ">T</i> <b>To<T></b> (<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a>[] src, <a href="../WebSocketSharp/ByteOrder.html">ByteOrder</a> srcOrder)<br /> where T : struct</div>
|
||||
<div class="Signature">public static <i title="
 The type of the return. The T must be a value type.
 ">T</i> <b>To<T></b> (<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a>[] src, <a href="../WebSocketSharp/ByteOrder.html">ByteOrder</a> srcOrder)<br /> where T : struct</div>
|
||||
<h4 class="Subsection">Type Parameters</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.To``1(System.Byte[],WebSocketSharp.ByteOrder):Type Parameters">
|
||||
<dl>
|
||||
@@ -2266,7 +2272,7 @@
|
||||
<i>T</i>
|
||||
</dt>
|
||||
<dd>
|
||||
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.
|
||||
</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
@@ -2283,17 +2289,17 @@
|
||||
<i>srcOrder</i>
|
||||
</dt>
|
||||
<dd>
|
||||
A <a href="../WebSocketSharp/ByteOrder.html">WebSocketSharp.ByteOrder</a> that indicates the byte order of the <i>src</i>.
|
||||
A <a href="../WebSocketSharp/ByteOrder.html">WebSocketSharp.ByteOrder</a> that indicates the byte order of <i>src</i>.
|
||||
</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Returns</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.To``1(System.Byte[],WebSocketSharp.ByteOrder):Returns">
|
||||
A T converted from the <i>src</i>, or a default value of T
|
||||
if the <i>src</i> is an empty array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a>
|
||||
or if the types of T aren't the <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Char">char</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Double">double</a>,
|
||||
A T converted from <i>src</i>, or a default value of T
|
||||
if <i>src</i> is an empty array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a>
|
||||
or if the type of T isn't <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Char">char</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Double">double</a>,
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Single">float</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int64">long</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int16">short</a>,
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt32">uint</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt64">ulong</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt16">ushort</a>.
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt32">uint</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt64">ulong</a> or <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.UInt16">ushort</a>.
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Exceptions</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.To``1(System.Byte[],WebSocketSharp.ByteOrder):Exceptions">
|
||||
@@ -2307,7 +2313,7 @@
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
|
||||
</td>
|
||||
<td>
|
||||
Is thrown when the <i>src</i> parameter passed to a method is invalid because it is <tt>null</tt>.
|
||||
<i>src</i> is <tt>null</tt>.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -2324,10 +2330,10 @@
|
||||
<h3 id="M:WebSocketSharp.Ext.ToByteArray``1(``0,WebSocketSharp.ByteOrder)">ToByteArray<T> Generic Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.Ext.ToByteArray``1(``0,WebSocketSharp.ByteOrder):member">
|
||||
<p class="Summary">
|
||||
Converts the specified data to an array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a>.
|
||||
Converts the specified <i>value</i> to an array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a>.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a>[] <b>ToByteArray<T></b> (<i>this</i> <i title="
 The type of the . The T must be a value type.
 ">T</i> value, <a href="../WebSocketSharp/ByteOrder.html">ByteOrder</a> order)<br /> where T : struct</div>
|
||||
<div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a>[] <b>ToByteArray<T></b> (<i>this</i> <i title="
 The type of . The T must be a value type.
 ">T</i> value, <a href="../WebSocketSharp/ByteOrder.html">ByteOrder</a> order)<br /> where T : struct</div>
|
||||
<h4 class="Subsection">Type Parameters</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.ToByteArray``1(``0,WebSocketSharp.ByteOrder):Type Parameters">
|
||||
<dl>
|
||||
@@ -2335,7 +2341,7 @@
|
||||
<i>T</i>
|
||||
</dt>
|
||||
<dd>
|
||||
The type of the <i>value</i>. The T must be a value type.
|
||||
The type of <i>value</i>. The T must be a value type.
|
||||
</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
@@ -2358,7 +2364,7 @@
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Returns</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.ToByteArray``1(``0,WebSocketSharp.ByteOrder):Returns">
|
||||
An array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a> converted from the <i>value</i>.
|
||||
An array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a> converted from <i>value</i>.
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="M:WebSocketSharp.Ext.ToByteArray``1(``0,WebSocketSharp.ByteOrder):Remarks">
|
||||
@@ -2389,13 +2395,13 @@
|
||||
<i>srcOrder</i>
|
||||
</dt>
|
||||
<dd>
|
||||
A <a href="../WebSocketSharp/ByteOrder.html">WebSocketSharp.ByteOrder</a> that indicates the byte order of the <i>src</i>.
|
||||
A <a href="../WebSocketSharp/ByteOrder.html">WebSocketSharp.ByteOrder</a> that indicates the byte order of <i>src</i>.
|
||||
</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Returns</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.ToHostOrder(System.Byte[],WebSocketSharp.ByteOrder):Returns">
|
||||
An array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a> converted from the <i>src</i>.
|
||||
An array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a> converted from <i>src</i>.
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Exceptions</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.ToHostOrder(System.Byte[],WebSocketSharp.ByteOrder):Exceptions">
|
||||
@@ -2409,7 +2415,7 @@
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
|
||||
</td>
|
||||
<td>
|
||||
Is thrown when the <i>src</i> parameter passed to a method is invalid because it is <tt>null</tt>.
|
||||
<i>src</i> is <tt>null</tt>.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -2426,11 +2432,11 @@
|
||||
<h3 id="M:WebSocketSharp.Ext.ToString``1(``0[],System.String)">ToString<T> Generic Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.Ext.ToString``1(``0[],System.String):member">
|
||||
<p class="Summary">
|
||||
Converts the specified array to a <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> concatenated the specified separator string
|
||||
between each element of this array.
|
||||
Converts the specified <i>array</i> to a <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that concatenates
|
||||
the each element of <i>array</i> across the specified <i>separator</i>.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>ToString<T></b> (<i>this</i> <i title="
 The type of elements in the .
 ">T</i>[] array, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> separator)</div>
|
||||
<div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>ToString<T></b> (<i>this</i> <i title="
 The type of elements in .
 ">T</i>[] array, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> separator)</div>
|
||||
<h4 class="Subsection">Type Parameters</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.ToString``1(``0[],System.String):Type Parameters">
|
||||
<dl>
|
||||
@@ -2438,7 +2444,7 @@
|
||||
<i>T</i>
|
||||
</dt>
|
||||
<dd>
|
||||
The type of elements in the <i>array</i>.
|
||||
The type of elements in <i>array</i>.
|
||||
</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
@@ -2461,8 +2467,8 @@
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Returns</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.ToString``1(``0[],System.String):Returns">
|
||||
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> converted from the <i>array</i> parameter, or a <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>
|
||||
if the length of the <i>array</i> is zero.
|
||||
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> converted from <i>array</i>, or a <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>
|
||||
if the length of <i>array</i> is zero.
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Exceptions</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.ToString``1(``0[],System.String):Exceptions">
|
||||
@@ -2476,7 +2482,7 @@
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
|
||||
</td>
|
||||
<td>
|
||||
Is thrown when the <i>array</i> parameter passed to a method is invalid because it is <tt>null</tt>.
|
||||
<i>array</i> is <tt>null</tt>.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@@ -506,7 +506,7 @@
|
||||
<b>
|
||||
<a href="#M:WebSocketSharp.WebSocket.Ping">Ping</a>
|
||||
</b>()<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
|
||||
Pings using the WebSocket connection.
|
||||
Sends a Ping using the WebSocket connection.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -518,7 +518,7 @@
|
||||
<b>
|
||||
<a href="#M:WebSocketSharp.WebSocket.Ping(System.String)">Ping</a>
|
||||
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
|
||||
Pings with the specified <i>message</i> using the WebSocket connection.
|
||||
Sends a Ping with the specified <i>message</i> using the WebSocket connection.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -671,36 +671,6 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="Section">Extension Methods</h2>
|
||||
<div class="SectionBox" id="Extension Methods">
|
||||
<div class="SubsectionBox">
|
||||
<table class="TypeMembers">
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div>static </div>
|
||||
</td>
|
||||
<td colspan="2">
|
||||
<b>
|
||||
<a href="../WebSocketSharp/Ext.html#M:WebSocketSharp.Ext.IsNull``1(``0)">IsNull<T></a>
|
||||
</b>(<i>this</i> <i title="
 The type of parameter.
 ">T</i>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
|
||||
Determines whether the specified object is <tt>null</tt>.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div>static </div>
|
||||
</td>
|
||||
<td colspan="2">
|
||||
<b>
|
||||
<a href="../WebSocketSharp/Ext.html#M:WebSocketSharp.Ext.IsNullDo``1(``0,System.Action)">IsNullDo<T></a>
|
||||
</b>(<i>this</i> <i title="
 The type of the parameter.
 ">T</i>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
|
||||
Determines whether the specified object is <tt>null</tt>.
|
||||
And invokes the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a> delegate if the specified object is <tt>null</tt>.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Members" id="T:WebSocketSharp.WebSocket:Members">
|
||||
@@ -1092,7 +1062,7 @@
|
||||
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>IsAlive</b> { get; }</div>
|
||||
<h4 class="Subsection">Value</h4>
|
||||
<blockquote class="SubsectionBox" id="P:WebSocketSharp.WebSocket.IsAlive:Value">
|
||||
<tt>true</tt> if the connection is alive; otherwise, <tt>false</tt>.
|
||||
<tt>true</tt> if the WebSocket connection is alive; otherwise, <tt>false</tt>.
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="P:WebSocketSharp.WebSocket.IsAlive:Remarks">
|
||||
@@ -1216,13 +1186,13 @@
|
||||
<h3 id="M:WebSocketSharp.WebSocket.Ping">Ping Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.WebSocket.Ping:member">
|
||||
<p class="Summary">
|
||||
Pings using the WebSocket connection.
|
||||
Sends a Ping using the WebSocket connection.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Ping</b> ()</div>
|
||||
<h4 class="Subsection">Returns</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.WebSocket.Ping:Returns">
|
||||
<tt>true</tt> if the <a href="../WebSocketSharp/WebSocket.html">WebSocketSharp.WebSocket</a> receives a Pong in a time; otherwise, <tt>false</tt>.
|
||||
<tt>true</tt> if a <a href="../WebSocketSharp/WebSocket.html">WebSocketSharp.WebSocket</a> instance receives a Pong in a time; otherwise, <tt>false</tt>.
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="M:WebSocketSharp.WebSocket.Ping:Remarks">
|
||||
@@ -1236,7 +1206,7 @@
|
||||
<h3 id="M:WebSocketSharp.WebSocket.Ping(System.String)">Ping Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.WebSocket.Ping(System.String):member">
|
||||
<p class="Summary">
|
||||
Pings with the specified <i>message</i> using the WebSocket connection.
|
||||
Sends a Ping with the specified <i>message</i> using the WebSocket connection.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Ping</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> message)</div>
|
||||
@@ -1247,13 +1217,13 @@
|
||||
<i>message</i>
|
||||
</dt>
|
||||
<dd>
|
||||
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains a message.
|
||||
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains a message to send with a Ping.
|
||||
</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Returns</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.WebSocket.Ping(System.String):Returns">
|
||||
<tt>true</tt> if the <a href="../WebSocketSharp/WebSocket.html">WebSocketSharp.WebSocket</a> receives a Pong in a time; otherwise, <tt>false</tt>.
|
||||
<tt>true</tt> if a <a href="../WebSocketSharp/WebSocket.html">WebSocketSharp.WebSocket</a> instance receives a Pong in a time; otherwise, <tt>false</tt>.
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="M:WebSocketSharp.WebSocket.Ping(System.String):Remarks">
|
||||
|
@@ -76,6 +76,35 @@
|
||||
</exception>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Contains">
|
||||
<MemberSignature Language="C#" Value="public static bool Contains (this System.Collections.Specialized.NameValueCollection collection, string name);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool Contains(class System.Collections.Specialized.NameValueCollection collection, string name) cil managed" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="collection" Type="System.Collections.Specialized.NameValueCollection" RefType="this" />
|
||||
<Parameter Name="name" Type="System.String" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="collection">
|
||||
A <see cref="T:System.Collections.Specialized.NameValueCollection" /> that contains the entries.
|
||||
</param>
|
||||
<param name="name">
|
||||
A <see cref="T:System.String" /> that contains the key of the entry to find.
|
||||
</param>
|
||||
<summary>
|
||||
Determines whether the specified <see cref="T:System.Collections.Specialized.NameValueCollection" /> contains the entry
|
||||
with the specified <paramref name="name" />.
|
||||
</summary>
|
||||
<returns>
|
||||
<c>true</c> if <paramref name="collection" /> contains the entry with <paramref name="name" />;
|
||||
otherwise, <c>false</c>.
|
||||
</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Contains">
|
||||
<MemberSignature Language="C#" Value="public static bool Contains (this string value, char[] chars);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool Contains(string value, char[] chars) cil managed" />
|
||||
@@ -110,6 +139,39 @@
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Contains">
|
||||
<MemberSignature Language="C#" Value="public static bool Contains (this System.Collections.Specialized.NameValueCollection collection, string name, string value);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool Contains(class System.Collections.Specialized.NameValueCollection collection, string name, string value) cil managed" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="collection" Type="System.Collections.Specialized.NameValueCollection" RefType="this" />
|
||||
<Parameter Name="name" Type="System.String" />
|
||||
<Parameter Name="value" Type="System.String" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="collection">
|
||||
A <see cref="T:System.Collections.Specialized.NameValueCollection" /> that contains the entries.
|
||||
</param>
|
||||
<param name="name">
|
||||
A <see cref="T:System.String" /> that contains the key of the entry to find.
|
||||
</param>
|
||||
<param name="value">
|
||||
A <see cref="T:System.String" /> that contains the value of the entry to find.
|
||||
</param>
|
||||
<summary>
|
||||
Determines whether the specified <see cref="T:System.Collections.Specialized.NameValueCollection" /> contains the entry
|
||||
with the specified both <paramref name="name" /> and <paramref name="value" />.
|
||||
</summary>
|
||||
<returns>
|
||||
<c>true</c> if <paramref name="collection" /> contains the entry with both <paramref name="name" /> and <paramref name="value" />;
|
||||
otherwise, <c>false</c>.
|
||||
</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Emit">
|
||||
<MemberSignature Language="C#" Value="public static void Emit (this EventHandler eventHandler, object sender, EventArgs e);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Emit(class System.EventHandler eventHandler, object sender, class System.EventArgs e) cil managed" />
|
||||
@@ -211,64 +273,6 @@
|
||||
</exception>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Exists">
|
||||
<MemberSignature Language="C#" Value="public static bool Exists (this System.Collections.Specialized.NameValueCollection collection, string name);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool Exists(class System.Collections.Specialized.NameValueCollection collection, string name) cil managed" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="collection" Type="System.Collections.Specialized.NameValueCollection" RefType="this" />
|
||||
<Parameter Name="name" Type="System.String" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="collection">
|
||||
A <see cref="T:System.Collections.Specialized.NameValueCollection" /> that contains the entries.
|
||||
</param>
|
||||
<param name="name">
|
||||
A <see cref="T:System.String" /> that contains the key of the entry to find.
|
||||
</param>
|
||||
<summary>
|
||||
Determines whether the entry with the specified key exists in the specified <see cref="T:System.Collections.Specialized.NameValueCollection" />.
|
||||
</summary>
|
||||
<returns>
|
||||
<c>true</c> if the entry with the <paramref name="name" /> exists in the <paramref name="collection" />; otherwise, <c>false</c>.
|
||||
</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Exists">
|
||||
<MemberSignature Language="C#" Value="public static bool Exists (this System.Collections.Specialized.NameValueCollection collection, string name, string value);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool Exists(class System.Collections.Specialized.NameValueCollection collection, string name, string value) cil managed" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="collection" Type="System.Collections.Specialized.NameValueCollection" RefType="this" />
|
||||
<Parameter Name="name" Type="System.String" />
|
||||
<Parameter Name="value" Type="System.String" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="collection">
|
||||
A <see cref="T:System.Collections.Specialized.NameValueCollection" /> that contains the entries.
|
||||
</param>
|
||||
<param name="name">
|
||||
A <see cref="T:System.String" /> that contains the key of the entry to find.
|
||||
</param>
|
||||
<param name="value">
|
||||
A <see cref="T:System.String" /> that contains the value of the entry to find.
|
||||
</param>
|
||||
<summary>
|
||||
Determines whether the entry with the specified both key and value exists in the specified <see cref="T:System.Collections.Specialized.NameValueCollection" />.
|
||||
</summary>
|
||||
<returns>
|
||||
<c>true</c> if the entry with the both <paramref name="name" /> and <paramref name="value" /> exists in the <paramref name="collection" />; otherwise, <c>false</c>.
|
||||
</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetAbsolutePath">
|
||||
<MemberSignature Language="C#" Value="public static string GetAbsolutePath (this Uri uri);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string GetAbsolutePath(class System.Uri uri) cil managed" />
|
||||
@@ -1088,27 +1092,27 @@
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<typeparam name="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.
|
||||
</typeparam>
|
||||
<param name="src">
|
||||
An array of <see cref="T:System.Byte" /> to convert.
|
||||
</param>
|
||||
<param name="srcOrder">
|
||||
A <see cref="T:WebSocketSharp.ByteOrder" /> that indicates the byte order of the <paramref name="src" />.
|
||||
A <see cref="T:WebSocketSharp.ByteOrder" /> that indicates the byte order of <paramref name="src" />.
|
||||
</param>
|
||||
<summary>
|
||||
Converts the specified array of <see cref="T:System.Byte" /> to the specified type data.
|
||||
</summary>
|
||||
<returns>
|
||||
A T converted from the <paramref name="src" />, or a default value of T
|
||||
if the <paramref name="src" /> is an empty array of <see cref="T:System.Byte" />
|
||||
or if the types of T aren't the <see cref="T:System.Boolean" />, <see cref="T:System.Char" />, <see cref="T:System.Double" />,
|
||||
A T converted from <paramref name="src" />, or a default value of T
|
||||
if <paramref name="src" /> is an empty array of <see cref="T:System.Byte" />
|
||||
or if the type of T isn't <see cref="T:System.Boolean" />, <see cref="T:System.Char" />, <see cref="T:System.Double" />,
|
||||
<see cref="T:System.Single" />, <see cref="T:System.Int32" />, <see cref="T:System.Int64" />, <see cref="T:System.Int16" />,
|
||||
<see cref="T:System.UInt32" />, <see cref="T:System.UInt64" />, <see cref="T:System.UInt16" />.
|
||||
<see cref="T:System.UInt32" />, <see cref="T:System.UInt64" /> or <see cref="T:System.UInt16" />.
|
||||
</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Is thrown when the <paramref name="src" /> parameter passed to a method is invalid because it is <see langword="null" />.
|
||||
<paramref name="src" /> is <see langword="null" />.
|
||||
</exception>
|
||||
</Docs>
|
||||
</Member>
|
||||
@@ -1134,7 +1138,7 @@
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<typeparam name="T">
|
||||
The type of the <paramref name="value" />. The T must be a value type.
|
||||
The type of <paramref name="value" />. The T must be a value type.
|
||||
</typeparam>
|
||||
<param name="value">
|
||||
A T to convert.
|
||||
@@ -1143,10 +1147,10 @@
|
||||
A <see cref="T:WebSocketSharp.ByteOrder" /> that indicates the byte order of the return.
|
||||
</param>
|
||||
<summary>
|
||||
Converts the specified data to an array of <see cref="T:System.Byte" />.
|
||||
Converts the specified <paramref name="value" /> to an array of <see cref="T:System.Byte" />.
|
||||
</summary>
|
||||
<returns>
|
||||
An array of <see cref="T:System.Byte" /> converted from the <paramref name="value" />.
|
||||
An array of <see cref="T:System.Byte" /> converted from <paramref name="value" />.
|
||||
</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
@@ -1167,17 +1171,17 @@
|
||||
An array of <see cref="T:System.Byte" /> to convert.
|
||||
</param>
|
||||
<param name="srcOrder">
|
||||
A <see cref="T:WebSocketSharp.ByteOrder" /> that indicates the byte order of the <paramref name="src" />.
|
||||
A <see cref="T:WebSocketSharp.ByteOrder" /> that indicates the byte order of <paramref name="src" />.
|
||||
</param>
|
||||
<summary>
|
||||
Converts the order of the specified array of <see cref="T:System.Byte" /> to the host byte order.
|
||||
</summary>
|
||||
<returns>
|
||||
An array of <see cref="T:System.Byte" /> converted from the <paramref name="src" />.
|
||||
An array of <see cref="T:System.Byte" /> converted from <paramref name="src" />.
|
||||
</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Is thrown when the <paramref name="src" /> parameter passed to a method is invalid because it is <see langword="null" />.
|
||||
<paramref name="src" /> is <see langword="null" />.
|
||||
</exception>
|
||||
</Docs>
|
||||
</Member>
|
||||
@@ -1197,7 +1201,7 @@
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<typeparam name="T">
|
||||
The type of elements in the <paramref name="array" />.
|
||||
The type of elements in <paramref name="array" />.
|
||||
</typeparam>
|
||||
<param name="array">
|
||||
An array of T to convert.
|
||||
@@ -1206,16 +1210,16 @@
|
||||
A <see cref="T:System.String" /> that contains a separator string.
|
||||
</param>
|
||||
<summary>
|
||||
Converts the specified array to a <see cref="T:System.String" /> concatenated the specified separator string
|
||||
between each element of this array.
|
||||
Converts the specified <paramref name="array" /> to a <see cref="T:System.String" /> that concatenates
|
||||
the each element of <paramref name="array" /> across the specified <paramref name="separator" />.
|
||||
</summary>
|
||||
<returns>
|
||||
A <see cref="T:System.String" /> converted from the <paramref name="array" /> parameter, or a <see cref="F:System.String.Empty" />
|
||||
if the length of the <paramref name="array" /> is zero.
|
||||
A <see cref="T:System.String" /> converted from <paramref name="array" />, or a <see cref="F:System.String.Empty" />
|
||||
if the length of <paramref name="array" /> is zero.
|
||||
</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Is thrown when the <paramref name="array" /> parameter passed to a method is invalid because it is <see langword="null" />.
|
||||
<paramref name="array" /> is <see langword="null" />.
|
||||
</exception>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@@ -318,7 +318,7 @@
|
||||
Gets a value indicating whether the WebSocket connection is alive.
|
||||
</summary>
|
||||
<value>
|
||||
<c>true</c> if the connection is alive; otherwise, <c>false</c>.
|
||||
<c>true</c> if the WebSocket connection is alive; otherwise, <c>false</c>.
|
||||
</value>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
@@ -431,10 +431,10 @@
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>
|
||||
Pings using the WebSocket connection.
|
||||
Sends a Ping using the WebSocket connection.
|
||||
</summary>
|
||||
<returns>
|
||||
<c>true</c> if the <see cref="T:WebSocketSharp.WebSocket" /> receives a Pong in a time; otherwise, <c>false</c>.
|
||||
<c>true</c> if a <see cref="T:WebSocketSharp.WebSocket" /> instance receives a Pong in a time; otherwise, <c>false</c>.
|
||||
</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
@@ -451,13 +451,13 @@
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="message">
|
||||
A <see cref="T:System.String" /> that contains a message.
|
||||
A <see cref="T:System.String" /> that contains a message to send with a Ping.
|
||||
</param>
|
||||
<summary>
|
||||
Pings with the specified <paramref name="message" /> using the WebSocket connection.
|
||||
Sends a Ping with the specified <paramref name="message" /> using the WebSocket connection.
|
||||
</summary>
|
||||
<returns>
|
||||
<c>true</c> if the <see cref="T:WebSocketSharp.WebSocket" /> receives a Pong in a time; otherwise, <c>false</c>.
|
||||
<c>true</c> if a <see cref="T:WebSocketSharp.WebSocket" /> instance receives a Pong in a time; otherwise, <c>false</c>.
|
||||
</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<Overview>
|
||||
<Assemblies>
|
||||
<Assembly Name="websocket-sharp" Version="1.0.2.30668">
|
||||
<Assembly Name="websocket-sharp" Version="1.0.2.41223">
|
||||
<AssemblyPublicKey>[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 ]</AssemblyPublicKey>
|
||||
<Attributes>
|
||||
<Attribute>
|
||||
@@ -142,6 +142,70 @@
|
||||
<Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.AcceptWebSocketAsync(System.Net.Sockets.TcpListener,System.Boolean,System.Action{WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext})" />
|
||||
</Member>
|
||||
</ExtensionMethod>
|
||||
<ExtensionMethod>
|
||||
<Targets>
|
||||
<Target Type="T:System.Collections.Specialized.NameValueCollection" />
|
||||
</Targets>
|
||||
<Member MemberName="Contains">
|
||||
<MemberSignature Language="C#" Value="public static bool Contains (this System.Collections.Specialized.NameValueCollection collection, string name);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool Contains(class System.Collections.Specialized.NameValueCollection collection, string name) cil managed" />
|
||||
<MemberType>ExtensionMethod</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="collection" Type="System.Collections.Specialized.NameValueCollection" RefType="this" />
|
||||
<Parameter Name="name" Type="System.String" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="collection">
|
||||
A <see cref="T:System.Collections.Specialized.NameValueCollection" /> that contains the entries.
|
||||
</param>
|
||||
<param name="name">
|
||||
A <see cref="T:System.String" /> that contains the key of the entry to find.
|
||||
</param>
|
||||
<summary>
|
||||
Determines whether the specified <see cref="T:System.Collections.Specialized.NameValueCollection" /> contains the entry
|
||||
with the specified <paramref name="name" />.
|
||||
</summary>
|
||||
</Docs>
|
||||
<Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.Contains(System.Collections.Specialized.NameValueCollection,System.String)" />
|
||||
</Member>
|
||||
</ExtensionMethod>
|
||||
<ExtensionMethod>
|
||||
<Targets>
|
||||
<Target Type="T:System.Collections.Specialized.NameValueCollection" />
|
||||
</Targets>
|
||||
<Member MemberName="Contains">
|
||||
<MemberSignature Language="C#" Value="public static bool Contains (this System.Collections.Specialized.NameValueCollection collection, string name, string value);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool Contains(class System.Collections.Specialized.NameValueCollection collection, string name, string value) cil managed" />
|
||||
<MemberType>ExtensionMethod</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="collection" Type="System.Collections.Specialized.NameValueCollection" RefType="this" />
|
||||
<Parameter Name="name" Type="System.String" />
|
||||
<Parameter Name="value" Type="System.String" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="collection">
|
||||
A <see cref="T:System.Collections.Specialized.NameValueCollection" /> that contains the entries.
|
||||
</param>
|
||||
<param name="name">
|
||||
A <see cref="T:System.String" /> that contains the key of the entry to find.
|
||||
</param>
|
||||
<param name="value">
|
||||
A <see cref="T:System.String" /> that contains the value of the entry to find.
|
||||
</param>
|
||||
<summary>
|
||||
Determines whether the specified <see cref="T:System.Collections.Specialized.NameValueCollection" /> contains the entry
|
||||
with the specified both <paramref name="name" /> and <paramref name="value" />.
|
||||
</summary>
|
||||
</Docs>
|
||||
<Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.Contains(System.Collections.Specialized.NameValueCollection,System.String,System.String)" />
|
||||
</Member>
|
||||
</ExtensionMethod>
|
||||
<ExtensionMethod>
|
||||
<Targets>
|
||||
<Target Type="T:System.String" />
|
||||
@@ -288,68 +352,6 @@
|
||||
<Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.EqualsAndSaveTo(System.Int32,System.Char,System.Collections.Generic.List{System.Byte})" />
|
||||
</Member>
|
||||
</ExtensionMethod>
|
||||
<ExtensionMethod>
|
||||
<Targets>
|
||||
<Target Type="T:System.Collections.Specialized.NameValueCollection" />
|
||||
</Targets>
|
||||
<Member MemberName="Exists">
|
||||
<MemberSignature Language="C#" Value="public static bool Exists (this System.Collections.Specialized.NameValueCollection collection, string name);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool Exists(class System.Collections.Specialized.NameValueCollection collection, string name) cil managed" />
|
||||
<MemberType>ExtensionMethod</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="collection" Type="System.Collections.Specialized.NameValueCollection" RefType="this" />
|
||||
<Parameter Name="name" Type="System.String" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="collection">
|
||||
A <see cref="T:System.Collections.Specialized.NameValueCollection" /> that contains the entries.
|
||||
</param>
|
||||
<param name="name">
|
||||
A <see cref="T:System.String" /> that contains the key of the entry to find.
|
||||
</param>
|
||||
<summary>
|
||||
Determines whether the entry with the specified key exists in the specified <see cref="T:System.Collections.Specialized.NameValueCollection" />.
|
||||
</summary>
|
||||
</Docs>
|
||||
<Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.Exists(System.Collections.Specialized.NameValueCollection,System.String)" />
|
||||
</Member>
|
||||
</ExtensionMethod>
|
||||
<ExtensionMethod>
|
||||
<Targets>
|
||||
<Target Type="T:System.Collections.Specialized.NameValueCollection" />
|
||||
</Targets>
|
||||
<Member MemberName="Exists">
|
||||
<MemberSignature Language="C#" Value="public static bool Exists (this System.Collections.Specialized.NameValueCollection collection, string name, string value);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool Exists(class System.Collections.Specialized.NameValueCollection collection, string name, string value) cil managed" />
|
||||
<MemberType>ExtensionMethod</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="collection" Type="System.Collections.Specialized.NameValueCollection" RefType="this" />
|
||||
<Parameter Name="name" Type="System.String" />
|
||||
<Parameter Name="value" Type="System.String" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="collection">
|
||||
A <see cref="T:System.Collections.Specialized.NameValueCollection" /> that contains the entries.
|
||||
</param>
|
||||
<param name="name">
|
||||
A <see cref="T:System.String" /> that contains the key of the entry to find.
|
||||
</param>
|
||||
<param name="value">
|
||||
A <see cref="T:System.String" /> that contains the value of the entry to find.
|
||||
</param>
|
||||
<summary>
|
||||
Determines whether the entry with the specified both key and value exists in the specified <see cref="T:System.Collections.Specialized.NameValueCollection" />.
|
||||
</summary>
|
||||
</Docs>
|
||||
<Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.Exists(System.Collections.Specialized.NameValueCollection,System.String,System.String)" />
|
||||
</Member>
|
||||
</ExtensionMethod>
|
||||
<ExtensionMethod>
|
||||
<Targets>
|
||||
<Target Type="T:System.Uri" />
|
||||
@@ -1233,13 +1235,13 @@
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<typeparam name="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.
|
||||
</typeparam>
|
||||
<param name="src">
|
||||
An array of <see cref="T:System.Byte" /> to convert.
|
||||
</param>
|
||||
<param name="srcOrder">
|
||||
A <see cref="T:WebSocketSharp.ByteOrder" /> that indicates the byte order of the <paramref name="src" />.
|
||||
A <see cref="T:WebSocketSharp.ByteOrder" /> that indicates the byte order of <paramref name="src" />.
|
||||
</param>
|
||||
<summary>
|
||||
Converts the specified array of <see cref="T:System.Byte" /> to the specified type data.
|
||||
@@ -1274,7 +1276,7 @@
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<typeparam name="T">
|
||||
The type of the <paramref name="value" />. The T must be a value type.
|
||||
The type of <paramref name="value" />. The T must be a value type.
|
||||
</typeparam>
|
||||
<param name="value">
|
||||
A T to convert.
|
||||
@@ -1283,7 +1285,7 @@
|
||||
A <see cref="T:WebSocketSharp.ByteOrder" /> that indicates the byte order of the return.
|
||||
</param>
|
||||
<summary>
|
||||
Converts the specified data to an array of <see cref="T:System.Byte" />.
|
||||
Converts the specified <paramref name="value" /> to an array of <see cref="T:System.Byte" />.
|
||||
</summary>
|
||||
</Docs>
|
||||
<Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.ToByteArray``1(``0,WebSocketSharp.ByteOrder)" />
|
||||
@@ -1309,7 +1311,7 @@
|
||||
An array of <see cref="T:System.Byte" /> to convert.
|
||||
</param>
|
||||
<param name="srcOrder">
|
||||
A <see cref="T:WebSocketSharp.ByteOrder" /> that indicates the byte order of the <paramref name="src" />.
|
||||
A <see cref="T:WebSocketSharp.ByteOrder" /> that indicates the byte order of <paramref name="src" />.
|
||||
</param>
|
||||
<summary>
|
||||
Converts the order of the specified array of <see cref="T:System.Byte" /> to the host byte order.
|
||||
@@ -1338,7 +1340,7 @@
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<typeparam name="T">
|
||||
The type of elements in the <paramref name="array" />.
|
||||
The type of elements in <paramref name="array" />.
|
||||
</typeparam>
|
||||
<param name="array">
|
||||
An array of T to convert.
|
||||
@@ -1347,8 +1349,8 @@
|
||||
A <see cref="T:System.String" /> that contains a separator string.
|
||||
</param>
|
||||
<summary>
|
||||
Converts the specified array to a <see cref="T:System.String" /> concatenated the specified separator string
|
||||
between each element of this array.
|
||||
Converts the specified <paramref name="array" /> to a <see cref="T:System.String" /> that concatenates
|
||||
the each element of <paramref name="array" /> across the specified <paramref name="separator" />.
|
||||
</summary>
|
||||
</Docs>
|
||||
<Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.ToString``1(``0[],System.String)" />
|
||||
|
Reference in New Issue
Block a user