Fix for issue #15

This commit is contained in:
sta
2013-04-06 16:21:41 +09:00
parent cbaa540b59
commit 94cf881dcf
83 changed files with 985 additions and 118 deletions

View File

@@ -991,7 +991,7 @@
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Expired</b> { get; set; }</div>
<h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Expired:Value">
<tt>true</tt> if the cookie has expired; otherwise, <tt>false</tt>.
<tt>true</tt> if the cookie has expired; otherwise, <tt>false</tt>. The default is <tt>false</tt>.
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Expired:Remarks">
@@ -1012,6 +1012,7 @@
<h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Expires:Value">
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.DateTime">DateTime</a> that contains the date and time at which the cookie expires.
The default is <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.DateTime.MinValue">DateTime.MinValue</a>.
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Expires:Remarks">
@@ -1151,7 +1152,7 @@
<a href="../WebSocketSharp.Net/CookieException.html">WebSocketSharp.Net.CookieException</a>
</td>
<td>
The value specified for a set operation could not be parsed or is not enclosed in double quotes.
The value specified for a set operation is not enclosed in double quotes or could not be parsed.
</td>
</tr>
</table>
@@ -1271,7 +1272,7 @@
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentOutOfRangeException">ArgumentOutOfRangeException</a>
</td>
<td>
The value specified for a set operation is less than zero.
The value specified for a set operation is not allowed. The value must be 0 or 1.
</td>
</tr>
</table>

View File

@@ -561,7 +561,7 @@
<i>array</i>
</dt>
<dd>
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Array">Array</a> that is the destination of the elements copied from the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Array">Array</a> is the destination of the elements copied from the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</dd>
<dt>
<i>index</i>
@@ -592,6 +592,32 @@
</td>
<td>
<i>index</i> is less than zero.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentException">ArgumentException</a>
</td>
<td>
<p>
<i>array</i> is multidimensional.
</p>
<p>
-or-
</p>
<p>
The number of elements in the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> is greater than the available space
from index to the end of the destination <i>array</i>.
</p>
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidCastException">InvalidCastException</a>
</td>
<td>
The elements in the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> cannot be cast automatically
to the type of the destination <i>array</i>.
</td>
</tr>
</table>
@@ -620,7 +646,7 @@
<i>array</i>
</dt>
<dd>
An array of <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> that is the destination of the elements copied from the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
An array of <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> is the destination of the elements copied from the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</dd>
<dt>
<i>index</i>
@@ -651,6 +677,15 @@
</td>
<td>
<i>index</i> is less than zero.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentException">ArgumentException</a>
</td>
<td>
The number of elements in the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> is greater than the available space
from index to the end of the destination <i>array</i>.
</td>
</tr>
</table>
@@ -764,7 +799,7 @@
<i>index</i>
</dt>
<dd>
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> that is the zero-based index of the <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> to find.
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> is the zero-based index of the <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> to find.
</dd>
</dl>
</blockquote>
@@ -816,7 +851,7 @@
<i>name</i>
</dt>
<dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that is the name of the <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> to find.
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> is the name of the <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> to find.
</dd>
</dl>
</blockquote>

View File

@@ -576,6 +576,18 @@
<a href="#M:WebSocketSharp.Server.WebSocketService.OnOpen">OnOpen</a>
</b>()<blockquote>
Occurs when the WebSocket connection has been established.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>
</div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Server.WebSocketService.ProcessCookies(WebSocketSharp.Net.CookieCollection,WebSocketSharp.Net.CookieCollection)">ProcessCookies</a>
</b>(<a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>, <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
Processes the cookies used in the WebSocket opening handshake.
</blockquote></td>
</tr>
</table>
@@ -1001,6 +1013,43 @@
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Server.WebSocketService.ProcessCookies(WebSocketSharp.Net.CookieCollection,WebSocketSharp.Net.CookieCollection)">ProcessCookies Method</h3>
<blockquote id="M:WebSocketSharp.Server.WebSocketService.ProcessCookies(WebSocketSharp.Net.CookieCollection,WebSocketSharp.Net.CookieCollection):member">
<p class="Summary">
Processes the cookies used in the WebSocket opening handshake.
</p>
<h2>Syntax</h2>
<div class="Signature">protected virtual <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>ProcessCookies</b> (<a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> request, <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> response)</div>
<h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Server.WebSocketService.ProcessCookies(WebSocketSharp.Net.CookieCollection,WebSocketSharp.Net.CookieCollection):Parameters">
<dl>
<dt>
<i>request</i>
</dt>
<dd>
A <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> that contains a collection of the HTTP Cookies received from the client.
</dd>
<dt>
<i>response</i>
</dt>
<dd>
A <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> that contains a collection of the HTTP Cookies to send to the client.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Returns</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Server.WebSocketService.ProcessCookies(WebSocketSharp.Net.CookieCollection,WebSocketSharp.Net.CookieCollection):Returns">
<tt>true</tt> if processing the cookies is successfully; otherwise, <tt>false</tt>.
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketService.ProcessCookies(WebSocketSharp.Net.CookieCollection,WebSocketSharp.Net.CookieCollection):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.Server.WebSocketService.ProcessCookies(WebSocketSharp.Net.CookieCollection,WebSocketSharp.Net.CookieCollection):Version Information">
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="P:WebSocketSharp.Server.WebSocketService.QueryString">QueryString Property</h3>
<blockquote id="P:WebSocketSharp.Server.WebSocketService.QueryString:member">
<p class="Summary">

View File

@@ -330,6 +330,17 @@
<a href="#M:WebSocketSharp.Ext.GetAbsolutePath(System.Uri)">GetAbsolutePath</a>
</b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Uri">Uri</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a></nobr><blockquote>
Gets the absolute path from the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Uri">Uri</a>.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>static </div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Ext.GetCookies(System.Collections.Specialized.NameValueCollection,System.Boolean)">GetCookies</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.Boolean">bool</a>)<nobr> : <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a></nobr><blockquote>
Gets the collection of cookies from 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">
@@ -1182,6 +1193,44 @@
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Ext.GetCookies(System.Collections.Specialized.NameValueCollection,System.Boolean)">GetCookies Method</h3>
<blockquote id="M:WebSocketSharp.Ext.GetCookies(System.Collections.Specialized.NameValueCollection,System.Boolean):member">
<p class="Summary">
Gets the collection of cookies from 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="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> <b>GetCookies</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> headers, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> response)</div>
<h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.GetCookies(System.Collections.Specialized.NameValueCollection,System.Boolean):Parameters">
<dl>
<dt>
<i>headers</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 a collection of the HTTP Headers.
</dd>
<dt>
<i>response</i>
</dt>
<dd>
<tt>true</tt> if gets from the response <i>headers</i>;
from the request <i>headers</i>, <tt>false</tt>.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Returns</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.GetCookies(System.Collections.Specialized.NameValueCollection,System.Boolean):Returns">
A <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> that receives a collection of the HTTP Cookies.
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Ext.GetCookies(System.Collections.Specialized.NameValueCollection,System.Boolean):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.GetCookies(System.Collections.Specialized.NameValueCollection,System.Boolean):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.GetDescription(WebSocketSharp.Net.HttpStatusCode)">GetDescription Method</h3>
<blockquote id="M:WebSocketSharp.Ext.GetDescription(WebSocketSharp.Net.HttpStatusCode):member">
<p class="Summary">

View File

@@ -269,6 +269,20 @@
<div class="SectionBox" id="Public Properties">
<div class="SubsectionBox">
<table class="TypeMembers">
<tr valign="top">
<td>[read-only]<div></div></td>
<td>
<b>
<a href="#P:WebSocketSharp.WebSocket.Cookies">Cookies</a>
</b>
</td>
<td>
<i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.IEnumerable`1">IEnumerable&lt;WebSocketSharp.Net.Cookie&gt;</a>
</i>.
Gets the cookies used in the WebSocket opening handshake.
</td>
</tr>
<tr valign="top">
<td>[read-only]<div></div></td>
<td>
@@ -542,6 +556,18 @@
<a href="#M:WebSocketSharp.WebSocket.SendAsync(System.String,System.Action)">SendAsync</a>
</b>(<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.Action">Action</a>)<blockquote>
Sends a text <i>data</i> asynchronously using the WebSocket connection.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>
</div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.WebSocket.SetCookie(WebSocketSharp.Net.Cookie)">SetCookie</a>
</b>(<a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a>)<blockquote>
Sets a <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> used in the WebSocket opening handshake.
</blockquote></td>
</tr>
</table>
@@ -944,6 +970,27 @@
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="P:WebSocketSharp.WebSocket.Cookies">Cookies Property</h3>
<blockquote id="P:WebSocketSharp.WebSocket.Cookies:member">
<p class="Summary">
Gets the cookies used in the WebSocket opening handshake.
</p>
<h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.IEnumerable`1">IEnumerable&lt;WebSocketSharp.Net.Cookie&gt;</a> <b>Cookies</b> { get; }</div>
<h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.WebSocket.Cookies:Value">
An IEnumerable&lt;Cookie&gt; interface that provides an enumerator which supports the iteration
over the collection of cookies.
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.WebSocket.Cookies:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
</div>
<h2 class="Section">Requirements</h2>
<div class="SectionBox" id="P:WebSocketSharp.WebSocket.Cookies: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.WebSocket.Dispose">Dispose Method</h3>
<blockquote id="M:WebSocketSharp.WebSocket.Dispose:member">
<p class="Summary">
@@ -1358,6 +1405,33 @@
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.WebSocket.SetCookie(WebSocketSharp.Net.Cookie)">SetCookie Method</h3>
<blockquote id="M:WebSocketSharp.WebSocket.SetCookie(WebSocketSharp.Net.Cookie):member">
<p class="Summary">
Sets a <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> used in the WebSocket opening handshake.
</p>
<h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>SetCookie</b> (<a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> cookie)</div>
<h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.WebSocket.SetCookie(WebSocketSharp.Net.Cookie):Parameters">
<dl>
<dt>
<i>cookie</i>
</dt>
<dd>
A <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> that contains an HTTP Cookie to set.
</dd>
</dl>
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.WebSocket.SetCookie(WebSocketSharp.Net.Cookie):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.WebSocket.SetCookie(WebSocketSharp.Net.Cookie):Version Information">
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="P:WebSocketSharp.WebSocket.Url">Url Property</h3>
<blockquote id="P:WebSocketSharp.WebSocket.Url:member">
<p class="Summary">

View File

@@ -287,7 +287,7 @@
Gets or sets a value indicating whether the cookie has expired.
</summary>
<value>
<c>true</c> if the cookie has expired; otherwise, <c>false</c>.
<c>true</c> if the cookie has expired; otherwise, <c>false</c>. The default is <c>false</c>.
</value>
<remarks>To be added.</remarks>
</Docs>
@@ -305,6 +305,7 @@
</summary>
<value>
A <see cref="T:System.DateTime" /> that contains the date and time at which the cookie expires.
The default is <see cref="F:System.DateTime.MinValue" />.
</value>
<remarks>To be added.</remarks>
</Docs>
@@ -406,7 +407,7 @@
</value>
<remarks>To be added.</remarks>
<exception cref="T:WebSocketSharp.Net.CookieException">
The value specified for a set operation could not be parsed or is not enclosed in double quotes.
The value specified for a set operation is not enclosed in double quotes or could not be parsed.
</exception>
</Docs>
</Member>
@@ -502,7 +503,7 @@
</value>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">
The value specified for a set operation is less than zero.
The value specified for a set operation is not allowed. The value must be 0 or 1.
</exception>
</Docs>
</Member>

View File

@@ -90,7 +90,7 @@
</Parameters>
<Docs>
<param name="array">
An <see cref="T:System.Array" /> that is the destination of the elements copied from the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
An <see cref="T:System.Array" /> is the destination of the elements copied from the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</param>
<param name="index">
An <see cref="T:System.Int32" /> that indicates the zero-based index in <paramref name="array" /> at which copying begins.
@@ -106,6 +106,22 @@
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="index" /> is less than zero.
</exception>
<exception cref="T:System.ArgumentException">
<para>
<paramref name="array" /> is multidimensional.
</para>
<para>
-or-
</para>
<para>
The number of elements in the <see cref="T:WebSocketSharp.Net.CookieCollection" /> is greater than the available space
from index to the end of the destination <paramref name="array" />.
</para>
</exception>
<exception cref="T:System.InvalidCastException">
The elements in the <see cref="T:WebSocketSharp.Net.CookieCollection" /> cannot be cast automatically
to the type of the destination <paramref name="array" />.
</exception>
</Docs>
</Member>
<Member MemberName="CopyTo">
@@ -121,7 +137,7 @@
</Parameters>
<Docs>
<param name="array">
An array of <see cref="T:WebSocketSharp.Net.Cookie" /> that is the destination of the elements copied from the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
An array of <see cref="T:WebSocketSharp.Net.Cookie" /> is the destination of the elements copied from the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</param>
<param name="index">
An <see cref="T:System.Int32" /> that indicates the zero-based index in <paramref name="array" /> at which copying begins.
@@ -137,6 +153,10 @@
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="index" /> is less than zero.
</exception>
<exception cref="T:System.ArgumentException">
The number of elements in the <see cref="T:WebSocketSharp.Net.CookieCollection" /> is greater than the available space
from index to the end of the destination <paramref name="array" />.
</exception>
</Docs>
</Member>
<Member MemberName="Count">
@@ -223,7 +243,7 @@
</Parameters>
<Docs>
<param name="index">
An <see cref="T:System.Int32" /> that is the zero-based index of the <see cref="T:WebSocketSharp.Net.Cookie" /> to find.
An <see cref="T:System.Int32" /> is the zero-based index of the <see cref="T:WebSocketSharp.Net.Cookie" /> to find.
</param>
<summary>
Gets the <see cref="T:WebSocketSharp.Net.Cookie" /> with the specified <paramref name="index" /> from the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
@@ -250,7 +270,7 @@
</Parameters>
<Docs>
<param name="name">
A <see cref="T:System.String" /> that is the name of the <see cref="T:WebSocketSharp.Net.Cookie" /> to find.
A <see cref="T:System.String" /> is the name of the <see cref="T:WebSocketSharp.Net.Cookie" /> to find.
</param>
<summary>
Gets the <see cref="T:WebSocketSharp.Net.Cookie" /> with the specified <paramref name="name" /> from the <see cref="T:WebSocketSharp.Net.CookieCollection" />.

View File

@@ -318,6 +318,33 @@
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ProcessCookies">
<MemberSignature Language="C#" Value="protected virtual bool ProcessCookies (WebSocketSharp.Net.CookieCollection request, WebSocketSharp.Net.CookieCollection response);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance bool ProcessCookies(class WebSocketSharp.Net.CookieCollection request, class WebSocketSharp.Net.CookieCollection response) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="request" Type="WebSocketSharp.Net.CookieCollection" />
<Parameter Name="response" Type="WebSocketSharp.Net.CookieCollection" />
</Parameters>
<Docs>
<param name="request">
A <see cref="T:WebSocketSharp.Net.CookieCollection" /> that contains a collection of the HTTP Cookies received from the client.
</param>
<param name="response">
A <see cref="T:WebSocketSharp.Net.CookieCollection" /> that contains a collection of the HTTP Cookies to send to the client.
</param>
<summary>
Processes the cookies used in the WebSocket opening handshake.
</summary>
<returns>
<c>true</c> if processing the cookies is successfully; otherwise, <c>false</c>.
</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="QueryString">
<MemberSignature Language="C#" Value="protected System.Collections.Specialized.NameValueCollection QueryString { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Specialized.NameValueCollection QueryString" />

View File

@@ -292,6 +292,34 @@
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetCookies">
<MemberSignature Language="C#" Value="public static WebSocketSharp.Net.CookieCollection GetCookies (this System.Collections.Specialized.NameValueCollection headers, bool response);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class WebSocketSharp.Net.CookieCollection GetCookies(class System.Collections.Specialized.NameValueCollection headers, bool response) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>WebSocketSharp.Net.CookieCollection</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="headers" Type="System.Collections.Specialized.NameValueCollection" RefType="this" />
<Parameter Name="response" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="headers">
A <see cref="T:System.Collections.Specialized.NameValueCollection" /> that contains a collection of the HTTP Headers.
</param>
<param name="response">
<c>true</c> if gets from the response <paramref name="headers" />;
from the request <paramref name="headers" />, <c>false</c>.
</param>
<summary>
Gets the collection of cookies from the specified <see cref="T:System.Collections.Specialized.NameValueCollection" />.
</summary>
<returns>
A <see cref="T:WebSocketSharp.Net.CookieCollection" /> that receives a collection of the HTTP Cookies.
</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetDescription">
<MemberSignature Language="C#" Value="public static string GetDescription (this WebSocketSharp.Net.HttpStatusCode code);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string GetDescription(valuetype WebSocketSharp.Net.HttpStatusCode code) cil managed" />

View File

@@ -235,6 +235,24 @@
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Cookies">
<MemberSignature Language="C#" Value="public System.Collections.Generic.IEnumerable&lt;WebSocketSharp.Net.Cookie&gt; Cookies { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.IEnumerable`1&lt;class WebSocketSharp.Net.Cookie&gt; Cookies" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable&lt;WebSocketSharp.Net.Cookie&gt;</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets the cookies used in the WebSocket opening handshake.
</summary>
<value>
An IEnumerable&lt;Cookie&gt; interface that provides an enumerator which supports the iteration
over the collection of cookies.
</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Dispose">
<MemberSignature Language="C#" Value="public void Dispose ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Dispose() cil managed" />
@@ -569,6 +587,26 @@
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SetCookie">
<MemberSignature Language="C#" Value="public void SetCookie (WebSocketSharp.Net.Cookie cookie);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void SetCookie(class WebSocketSharp.Net.Cookie cookie) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="cookie" Type="WebSocketSharp.Net.Cookie" />
</Parameters>
<Docs>
<param name="cookie">
A <see cref="T:WebSocketSharp.Net.Cookie" /> that contains an HTTP Cookie to set.
</param>
<summary>
Sets a <see cref="T:WebSocketSharp.Net.Cookie" /> used in the WebSocket opening handshake.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Url">
<MemberSignature Language="C#" Value="public Uri Url { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Uri Url" />

View File

@@ -1,6 +1,6 @@
<Overview>
<Assemblies>
<Assembly Name="websocket-sharp" Version="1.0.2.27469">
<Assembly Name="websocket-sharp" Version="1.0.2.29046">
<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>
@@ -374,6 +374,36 @@
<Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.GetAbsolutePath(System.Uri)" />
</Member>
</ExtensionMethod>
<ExtensionMethod>
<Targets>
<Target Type="T:System.Collections.Specialized.NameValueCollection" />
</Targets>
<Member MemberName="GetCookies">
<MemberSignature Language="C#" Value="public static WebSocketSharp.Net.CookieCollection GetCookies (this System.Collections.Specialized.NameValueCollection headers, bool response);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class WebSocketSharp.Net.CookieCollection GetCookies(class System.Collections.Specialized.NameValueCollection headers, bool response) cil managed" />
<MemberType>ExtensionMethod</MemberType>
<ReturnValue>
<ReturnType>WebSocketSharp.Net.CookieCollection</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="headers" Type="System.Collections.Specialized.NameValueCollection" RefType="this" />
<Parameter Name="response" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="headers">
A <see cref="T:System.Collections.Specialized.NameValueCollection" /> that contains a collection of the HTTP Headers.
</param>
<param name="response">
<c>true</c> if gets from the response <paramref name="headers" />;
from the request <paramref name="headers" />, <c>false</c>.
</param>
<summary>
Gets the collection of cookies from the specified <see cref="T:System.Collections.Specialized.NameValueCollection" />.
</summary>
</Docs>
<Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.GetCookies(System.Collections.Specialized.NameValueCollection,System.Boolean)" />
</Member>
</ExtensionMethod>
<ExtensionMethod>
<Targets>
<Target Type="T:WebSocketSharp.Net.HttpStatusCode" />