@ -18,7 +18,9 @@
</Attribute>
</Attributes>
<Docs >
<summary > To be added.</summary>
<summary >
Provides a collection of the HTTP headers associated with a request or response.
</summary>
<remarks > To be added.</remarks>
</Docs>
<Members >
@ -28,7 +30,9 @@
<MemberType > Constructor</MemberType>
<Parameters />
<Docs >
<summary > To be added.</summary>
<summary >
Initializes a new instance of the <see cref= "T:WebSocketSharp.Net.WebHeaderCollection" /> class.
</summary>
<remarks > To be added.</remarks>
</Docs>
</Member>
@ -41,9 +45,16 @@
<Parameter Name= "streamingContext" Type= "System.Runtime.Serialization.StreamingContext" />
</Parameters>
<Docs >
<param name= "serializationInfo" > To be added.</param>
<param name= "streamingContext" > To be added.</param>
<summary > To be added.</summary>
<param name= "serializationInfo" >
A <see cref= "T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data.
</param>
<param name= "streamingContext" >
A <see cref= "T:System.Runtime.Serialization.StreamingContext" /> that contains the contextual information about the source or destination.
</param>
<summary >
Initializes a new instance of the <see cref= "T:WebSocketSharp.Net.WebHeaderCollection" /> class
with the specified <see cref= "T:System.Runtime.Serialization.SerializationInfo" /> and <see cref= "T:System.Runtime.Serialization.StreamingContext" /> .
</summary>
<remarks > To be added.</remarks>
</Docs>
</Member>
@ -58,9 +69,19 @@
<Parameter Name= "header" Type= "System.String" />
</Parameters>
<Docs >
<param name= "header" > To be added.</param>
<summary > To be added.</summary>
<param name= "header" >
A <see cref= "T:System.String" /> that contains a header with the name and value separated by a colon (:).
</param>
<summary >
Adds the specified <paramref name= "header" /> to the collection.
</summary>
<remarks > To be added.</remarks>
<exception cref= "T:System.ArgumentNullException" >
<paramref name= "header" /> is <see langword= "null" /> or a <see cref= "F:System.String.Empty" /> .
</exception>
<exception cref= "T:System.ArgumentException" >
<paramref name= "header" /> does not contain a colon.
</exception>
</Docs>
</Member>
<Member MemberName= "Add" >
@ -75,9 +96,15 @@
<Parameter Name= "value" Type= "System.String" />
</Parameters>
<Docs >
<param name= "header" > To be added.</param>
<param name= "value" > To be added.</param>
<summary > To be added.</summary>
<param name= "header" >
A <see cref= "T:System.Net.HttpRequestHeader" /> that contains the name of the request header to add.
</param>
<param name= "value" >
A <see cref= "T:System.String" /> that contains the value of the header to add.
</param>
<summary >
Adds the specified request <paramref name= "header" /> with the specified <paramref name= "value" /> to the collection.
</summary>
<remarks > To be added.</remarks>
</Docs>
</Member>
@ -93,9 +120,15 @@
<Parameter Name= "value" Type= "System.String" />
</Parameters>
<Docs >
<param name= "header" > To be added.</param>
<param name= "value" > To be added.</param>
<summary > To be added.</summary>
<param name= "header" >
A <see cref= "T:System.Net.HttpResponseHeader" /> that contains the name of the response header to add.
</param>
<param name= "value" >
A <see cref= "T:System.String" /> that contains the value of the header to add.
</param>
<summary >
Adds the specified response <paramref name= "header" /> with the specified <paramref name= "value" /> to the collection.
</summary>
<remarks > To be added.</remarks>
</Docs>
</Member>
@ -111,10 +144,33 @@
<Parameter Name= "value" Type= "System.String" />
</Parameters>
<Docs >
<param name= "name" > To be added.</param>
<param name= "value" > To be added.</param>
<summary > To be added.</summary>
<remarks > To be added.</remarks>
<param name= "name" >
A <see cref= "T:System.String" /> that contains the name of the header to add.
</param>
<param name= "value" >
A <see cref= "T:System.String" /> that contains the value of the header to add.
</param>
<summary >
Adds a header with the specified <paramref name= "name" /> and <paramref name= "value" /> to the collection.
</summary>
<remarks > To be added.</remarks>
<exception cref= "T:System.ArgumentException" >
<para >
<paramref name= "name" /> is <see langword= "null" /> or a <see cref= "F:System.String.Empty" /> .
</para>
<para >
-or-
</para>
<para >
<paramref name= "name" /> is a restricted header that must be set with a property setting.
</para>
<para >
-or-
</para>
</exception>
<exception cref= "T:System.ArgumentOutOfRangeException" >
The length of <paramref name= "value" /> is greater than 65535.
</exception>
</Docs>
</Member>
<Member MemberName= "AddWithoutValidate" >
@ -129,10 +185,28 @@
<Parameter Name= "headerValue" Type= "System.String" />
</Parameters>
<Docs >
<param name= "headerName" > To be added.</param>
<param name= "headerValue" > To be added.</param>
<summary > To be added.</summary>
<remarks > To be added.</remarks>
<param name= "headerName" >
A <see cref= "T:System.String" /> that contains the name of the header to add.
</param>
<param name= "headerValue" >
A <see cref= "T:System.String" /> that contains the value of the header to add.
</param>
<summary >
Adds a header to the collection without checking whether the header is on the restricted header list.
</summary>
<remarks > To be added.</remarks>
<exception cref= "T:System.ArgumentException" >
<para >
<paramref name= "headerName" /> is <see langword= "null" /> , <see cref= "F:System.String.Empty" /> , or
contains invalid characters.
</para>
<para >
-or-
</para>
<para >
<paramref name= "headerValue" /> contains invalid characters.
</para>
</exception>
</Docs>
</Member>
<Member MemberName= "AllKeys" >
@ -143,8 +217,12 @@
<ReturnType > System.String[]</ReturnType>
</ReturnValue>
<Docs >
<summary > To be added.</summary>
<value > To be added.</value>
<summary >
Gets all header names in the collection.
</summary>
<value >
An array of <see cref= "T:System.String" /> that contains all header names in the collection.
</value>
<remarks > To be added.</remarks>
</Docs>
</Member>
@ -157,7 +235,9 @@
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added.</summary>
<summary >
Removes all headers from the collection.
</summary>
<remarks > To be added.</remarks>
</Docs>
</Member>
@ -169,8 +249,12 @@
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Docs >
<summary > To be added.</summary>
<value > To be added.</value>
<summary >
Gets the number of headers in the collection.
</summary>
<value >
An <see cref= "T:System.Int32" /> that indicates the number of headers in the collection.
</value>
<remarks > To be added.</remarks>
</Docs>
</Member>
@ -185,9 +269,15 @@
<Parameter Name= "index" Type= "System.Int32" />
</Parameters>
<Docs >
<param name= "index" > To be added.</param>
<summary > To be added.</summary>
<returns > To be added.</returns>
<param name= "index" >
An <see cref= "T:System.Int32" /> that is the zero-based index of the header to get.
</param>
<summary >
Get the value of the header with the specified <paramref name= "index" /> in the collection.
</summary>
<returns >
A <see cref= "T:System.String" /> that receives the value of the header.
</returns>
<remarks > To be added.</remarks>
</Docs>
</Member>
@ -202,9 +292,16 @@
<Parameter Name= "name" Type= "System.String" />
</Parameters>
<Docs >
<param name= "name" > To be added.</param>
<summary > To be added.</summary>
<returns > To be added.</returns>
<param name= "name" >
A <see cref= "T:System.String" /> that contains the name of the header to get.
</param>
<summary >
Get the value of the header with the specified <paramref name= "name" /> in the collection.
</summary>
<returns >
A <see cref= "T:System.String" /> that receives the value of the header.
<see langword= "null" /> if there is no header with <paramref name= "name" /> in the collection.
</returns>
<remarks > To be added.</remarks>
</Docs>
</Member>
@ -217,8 +314,13 @@
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added.</summary>
<returns > To be added.</returns>
<summary >
Gets the enumerator to use to iterate through the <see cref= "T:WebSocketSharp.Net.WebHeaderCollection" /> .
</summary>
<returns >
An instance of an implementation of the <see cref= "T:System.Collections.IEnumerator" /> interface
to use to iterate through the <see cref= "T:WebSocketSharp.Net.WebHeaderCollection" /> .
</returns>
<remarks > To be added.</remarks>
</Docs>
</Member>
@ -233,9 +335,15 @@
<Parameter Name= "index" Type= "System.Int32" />
</Parameters>
<Docs >
<param name= "index" > To be added.</param>
<summary > To be added.</summary>
<returns > To be added.</returns>
<param name= "index" >
An <see cref= "T:System.Int32" /> is the zero-based index of the key to get from the collection.
</param>
<summary >
Get the header name at the specified <paramref name= "index" /> position in the collection.
</summary>
<returns >
A <see cref= "T:System.String" /> that receives the header name.
</returns>
<remarks > To be added.</remarks>
</Docs>
</Member>
@ -251,9 +359,15 @@
<Parameter Name= "streamingContext" Type= "System.Runtime.Serialization.StreamingContext" />
</Parameters>
<Docs >
<param name= "serializationInfo" > To be added.</param>
<param name= "streamingContext" > To be added.</param>
<summary > To be added.</summary>
<param name= "serializationInfo" >
A <see cref= "T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data.
</param>
<param name= "streamingContext" >
A <see cref= "T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for the serialization.
</param>
<summary >
Populates the specified <see cref= "T:System.Runtime.Serialization.SerializationInfo" /> with the data needed to serialize the <see cref= "T:WebSocketSharp.Net.WebHeaderCollection" /> .
</summary>
<remarks > To be added.</remarks>
</Docs>
</Member>
@ -268,9 +382,15 @@
<Parameter Name= "index" Type= "System.Int32" />
</Parameters>
<Docs >
<param name= "index" > To be added.</param>
<summary > To be added.</summary>
<returns > To be added.</returns>
<param name= "index" >
An <see cref= "T:System.Int32" /> is the zero-based index of the header in the collection.
</param>
<summary >
Gets an array of header values stored in the specified <paramref name= "index" /> position of the header collection.
</summary>
<returns >
An array of <see cref= "T:System.String" /> that receives the header values.
</returns>
<remarks > To be added.</remarks>
</Docs>
</Member>
@ -285,9 +405,15 @@
<Parameter Name= "header" Type= "System.String" />
</Parameters>
<Docs >
<param name= "header" > To be added.</param>
<summary > To be added.</summary>
<returns > To be added.</returns>
<param name= "header" >
A <see cref= "T:System.String" /> that contains a header name.
</param>
<summary >
Gets an array of header values stored in the specified <paramref name= "header" /> name.
</summary>
<returns >
An array of <see cref= "T:System.String" /> that receives the header values.
</returns>
<remarks > To be added.</remarks>
</Docs>
</Member>
@ -302,10 +428,22 @@
<Parameter Name= "headerName" Type= "System.String" />
</Parameters>
<Docs >
<param name= "headerName" > To be added.</param>
<summary > To be added.</summary>
<returns > To be added.</returns>
<param name= "headerName" >
A <see cref= "T:System.String" /> that contains the name of the header to test.
</param>
<summary >
Determines whether the specified header can be set for the request.
</summary>
<returns >
<c > true</c> if the header is restricted; otherwise, <c > false</c> .
</returns>
<remarks > To be added.</remarks>
<exception cref= "T:System.ArgumentNullException" >
<paramref name= "headerName" /> is <see langword= "null" /> or <see cref= "F:System.String.Empty" /> .
</exception>
<exception cref= "T:System.ArgumentException" >
<paramref name= "headerName" /> contains invalid characters.
</exception>
</Docs>
</Member>
<Member MemberName= "IsRestricted" >
@ -320,44 +458,70 @@
<Parameter Name= "response" Type= "System.Boolean" />
</Parameters>
<Docs >
<param name= "headerName" > To be added.</param>
<param name= "response" > To be added.</param>
<summary > To be added.</summary>
<returns > To be added.</returns>
<remarks > To be added.</remarks>
<param name= "headerName" >
A <see cref= "T:System.String" /> that contains the name of the header to test.
</param>
<param name= "response" >
<c > true</c> if does the test for the response; for the request, <c > false</c> .
</param>
<summary >
Determines whether the specified header can be set for the request or the response.
</summary>
<returns >
<c > true</c> if the header is restricted; otherwise, <c > false</c> .
</returns>
<remarks > To be added.</remarks>
<exception cref= "T:System.ArgumentNullException" >
<paramref name= "headerName" /> is <see langword= "null" /> or <see cref= "F:System.String.Empty" /> .
</exception>
<exception cref= "T:System.ArgumentException" >
<paramref name= "headerName" /> contains invalid characters.
</exception>
</Docs>
</Member>
<Member MemberName= "Item" >
<MemberSignature Language= "C#" Value= "public string this[System.Net.HttpRequestHeader hrh] { get; set; }" />
<MemberSignature Language= "C#" Value= "public string this[System.Net.HttpRequestHeader h eade r] { get; set; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance string Item(valuetype System.Net.HttpRequestHeader)" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "hrh" Type= "System.Net.HttpRequestHeader" />
<Parameter Name= "h eade r" Type= "System.Net.HttpRequestHeader" />
</Parameters>
<Docs >
<param name= "hrh" > To be added.</param>
<summary > To be added.</summary>
<value > To be added.</value>
<param name= "header" >
A <see cref= "T:System.Net.HttpRequestHeader" /> that contains a request header name.
</param>
<summary >
Gets or sets the specified request <paramref name= "header" /> in the collection.
</summary>
<value >
A <see cref= "T:System.String" /> that contains the value of the specified request <paramref name= "header" /> .
</value>
<remarks > To be added.</remarks>
</Docs>
</Member>
<Member MemberName= "Item" >
<MemberSignature Language= "C#" Value= "public string this[System.Net.HttpResponseHeader hrh] { get; set; }" />
<MemberSignature Language= "C#" Value= "public string this[System.Net.HttpResponseHeader h eade r] { get; set; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance string Item(valuetype System.Net.HttpResponseHeader)" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "h rh " Type= "System.Net.HttpResponseHeader" />
<Parameter Name= "h eade r" Type= "System.Net.HttpResponseHeader" />
</Parameters>
<Docs >
<param name= "hrh" > To be added.</param>
<summary > To be added.</summary>
<value > To be added.</value>
<param name= "header" >
A <see cref= "T:System.Net.HttpResponseHeader" /> that contains a response header name.
</param>
<summary >
Gets or sets the specified response <paramref name= "header" /> in the collection.
</summary>
<value >
A <see cref= "T:System.String" /> that contains the value of the specified response <paramref name= "header" /> .
</value>
<remarks > To be added.</remarks>
</Docs>
</Member>
@ -369,8 +533,12 @@
<ReturnType > System.Collections.Specialized.NameObjectCollectionBase+KeysCollection</ReturnType>
</ReturnValue>
<Docs >
<summary > To be added.</summary>
<value > To be added.</value>
<summary >
Gets a collection of header names in the collection.
</summary>
<value >
A <see cref= "T:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection" /> that contains a collection of header names in the collection.
</value>
<remarks > To be added.</remarks>
</Docs>
</Member>
@ -385,8 +553,13 @@
<Parameter Name= "sender" Type= "System.Object" />
</Parameters>
<Docs >
<param name= "sender" > To be added.</param>
<summary > To be added.</summary>
<param name= "sender" >
An <see cref= "T:System.Object" /> that contains the source of the deserialization event.
</param>
<summary >
Implements the <see cref= "T:System.Runtime.Serialization.ISerializable" /> interface and raises the deserialization event
when the deserialization is complete.
</summary>
<remarks > To be added.</remarks>
</Docs>
</Member>
@ -401,8 +574,12 @@
<Parameter Name= "header" Type= "System.Net.HttpRequestHeader" />
</Parameters>
<Docs >
<param name= "header" > To be added.</param>
<summary > To be added.</summary>
<param name= "header" >
A <see cref= "T:System.Net.HttpRequestHeader" /> to remove from the collection.
</param>
<summary >
Removes the specified header from the collection.
</summary>
<remarks > To be added.</remarks>
</Docs>
</Member>
@ -417,8 +594,12 @@
<Parameter Name= "header" Type= "System.Net.HttpResponseHeader" />
</Parameters>
<Docs >
<param name= "header" > To be added.</param>
<summary > To be added.</summary>
<param name= "header" >
A <see cref= "T:System.Net.HttpResponseHeader" /> to remove from the collection.
</param>
<summary >
Removes the specified header from the collection.
</summary>
<remarks > To be added.</remarks>
</Docs>
</Member>
@ -433,9 +614,27 @@
<Parameter Name= "name" Type= "System.String" />
</Parameters>
<Docs >
<param name= "name" > To be added.</param>
<summary > To be added.</summary>
<remarks > To be added.</remarks>
<param name= "name" >
A <see cref= "T:System.String" /> that contains the name of the header to remove from the collection.
</param>
<summary >
Removes the specified header from the collection.
</summary>
<remarks > To be added.</remarks>
<exception cref= "T:System.ArgumentNullException" >
<paramref name= "name" /> is <see langword= "null" /> or <see cref= "F:System.String.Empty" /> .
</exception>
<exception cref= "T:System.ArgumentException" >
<para >
<paramref name= "name" /> contains invalid characters.
</para>
<para >
-or-
</para>
<para >
<paramref name= "name" /> is a restricted header name.
</para>
</exception>
</Docs>
</Member>
<Member MemberName= "Set" >
@ -450,9 +649,15 @@
<Parameter Name= "value" Type= "System.String" />
</Parameters>
<Docs >
<param name= "header" > To be added.</param>
<param name= "value" > To be added.</param>
<summary > To be added.</summary>
<param name= "header" >
A <see cref= "T:System.Net.HttpRequestHeader" /> to set.
</param>
<param name= "value" >
A <see cref= "T:System.String" /> that contains the value of the header to set.
</param>
<summary >
Sets the specified header to the specified value.
</summary>
<remarks > To be added.</remarks>
</Docs>
</Member>
@ -468,9 +673,15 @@
<Parameter Name= "value" Type= "System.String" />
</Parameters>
<Docs >
<param name= "header" > To be added.</param>
<param name= "value" > To be added.</param>
<summary > To be added.</summary>
<param name= "header" >
A <see cref= "T:System.Net.HttpResponseHeader" /> to set.
</param>
<param name= "value" >
A <see cref= "T:System.String" /> that contains the value of the header to set.
</param>
<summary >
Sets the specified header to the specified value.
</summary>
<remarks > To be added.</remarks>
</Docs>
</Member>
@ -486,10 +697,33 @@
<Parameter Name= "value" Type= "System.String" />
</Parameters>
<Docs >
<param name= "name" > To be added.</param>
<param name= "value" > To be added.</param>
<summary > To be added.</summary>
<remarks > To be added.</remarks>
<param name= "name" >
A <see cref= "T:System.String" /> that contains the name of the header to set.
</param>
<param name= "value" >
A <see cref= "T:System.String" /> that contains the value of the header to set.
</param>
<summary >
Sets the specified header to the specified value.
</summary>
<remarks > To be added.</remarks>
<exception cref= "T:System.ArgumentNullException" >
<paramref name= "name" /> is <see langword= "null" /> or <see cref= "F:System.String.Empty" /> .
</exception>
<exception cref= "T:System.ArgumentException" >
<para >
<paramref name= "name" /> or <paramref name= "value" /> contain invalid characters.
</para>
<para >
-or-
</para>
<para >
<paramref name= "name" /> is a restricted header name.
</para>
</exception>
<exception cref= "T:System.ArgumentOutOfRangeException" >
The length of <paramref name= "value" /> is greater than 65535.
</exception>
</Docs>
</Member>
<Member MemberName= "System.Runtime.Serialization.ISerializable.GetObjectData" >
@ -504,9 +738,15 @@
<Parameter Name= "streamingContext" Type= "System.Runtime.Serialization.StreamingContext" />
</Parameters>
<Docs >
<param name= "serializationInfo" > To be added.</param>
<param name= "streamingContext" > To be added.</param>
<summary > To be added.</summary>
<param name= "serializationInfo" >
A <see cref= "T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data.
</param>
<param name= "streamingContext" >
A <see cref= "T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for the serialization.
</param>
<summary >
Populates the specified <see cref= "T:System.Runtime.Serialization.SerializationInfo" /> with the data needed to serialize the <see cref= "T:WebSocketSharp.Net.WebHeaderCollection" /> .
</summary>
<remarks > To be added.</remarks>
</Docs>
</Member>
@ -519,8 +759,12 @@
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added.</summary>
<returns > To be added.</returns>
<summary >
Converts the current <see cref= "T:WebSocketSharp.Net.WebHeaderCollection" /> to an array of <see cref= "T:System.Byte" /> .
</summary>
<returns >
An array of <see cref= "T:System.Byte" /> that receives the converted current <see cref= "T:WebSocketSharp.Net.WebHeaderCollection" /> .
</returns>
<remarks > To be added.</remarks>
</Docs>
</Member>
@ -533,8 +777,12 @@
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added.</summary>
<returns > To be added.</returns>
<summary >
Returns a <see cref= "T:System.String" /> that represents the current <see cref= "T:WebSocketSharp.Net.WebHeaderCollection" /> .
</summary>
<returns >
A <see cref= "T:System.String" /> that represents the current <see cref= "T:WebSocketSharp.Net.WebHeaderCollection" /> .
</returns>
<remarks > To be added.</remarks>
</Docs>
</Member>