websocket-sharp/websocket-sharp/doc/html/WebSocketSharp.Net/WebHeaderCollection.html

2291 lines
124 KiB
HTML

<html>
<head>
<title>WebSocketSharp.Net.WebHeaderCollection</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style>
a { text-decoration: none }
div.SideBar {
padding-left: 1em;
padding-right: 1em;
right: 0;
float: right;
border: thin solid black;
background-color: #f2f2f2;
}
.CollectionTitle { font-weight: bold }
.PageTitle { font-size: 150%; font-weight: bold }
.Summary { }
.Signature { }
.Remarks { }
.Members { }
.Copyright { }
.Section { font-size: 125%; font-weight: bold }
p.Summary {
margin-left: 1em;
}
.SectionBox { margin-left: 2em }
.NamespaceName { font-size: 105%; font-weight: bold }
.NamespaceSumary { }
.MemberName { font-size: 115%; font-weight: bold; margin-top: 1em }
.Subsection { font-size: 105%; font-weight: bold }
.SubsectionBox { margin-left: 2em; margin-bottom: 1em }
.CodeExampleTable { background-color: #f5f5dd; border: thin solid black; padding: .25em; }
.TypesListing {
border-collapse: collapse;
}
td {
vertical-align: top;
}
th {
text-align: left;
}
.TypesListing td {
margin: 0px;
padding: .25em;
border: solid gray 1px;
}
.TypesListing th {
margin: 0px;
padding: .25em;
background-color: #f2f2f2;
border: solid gray 1px;
}
div.Footer {
border-top: 1px solid gray;
margin-top: 1.5em;
padding-top: 0.6em;
text-align: center;
color: gray;
}
span.NotEntered /* Documentation for this section has not yet been entered */ {
font-style: italic;
color: red;
}
div.Header {
background: #B0C4DE;
border: double;
border-color: white;
border-width: 7px;
padding: 0.5em;
}
div.Header * {
font-size: smaller;
}
div.Note {
}
i.ParamRef {
}
i.subtitle {
}
ul.TypeMembersIndex {
text-align: left;
background: #F8F8F8;
}
ul.TypeMembersIndex li {
display: inline;
margin: 0.5em;
}
table.HeaderTable {
}
table.SignatureTable {
}
table.Documentation, table.Enumeration, table.TypeDocumentation {
border-collapse: collapse;
width: 100%;
}
table.Documentation tr th, table.TypeMembers tr th, table.Enumeration tr th, table.TypeDocumentation tr th {
background: whitesmoke;
padding: 0.8em;
border: 1px solid gray;
text-align: left;
vertical-align: bottom;
}
table.Documentation tr td, table.TypeMembers tr td, table.Enumeration tr td, table.TypeDocumentation tr td {
padding: 0.5em;
border: 1px solid gray;
text-align: left;
vertical-align: top;
}
table.TypeMembers {
border: 1px solid #C0C0C0;
width: 100%;
}
table.TypeMembers tr td {
background: #F8F8F8;
border: white;
}
table.Documentation {
}
table.TypeMembers {
}
div.CodeExample {
width: 100%;
border: 1px solid #DDDDDD;
background-color: #F8F8F8;
}
div.CodeExample p {
margin: 0.5em;
border-bottom: 1px solid #DDDDDD;
}
div.CodeExample div {
margin: 0.5em;
}
h4 {
margin-bottom: 0;
}
div.Signature {
border: 1px solid #C0C0C0;
background: #F2F2F2;
padding: 1em;
}
</style>
<script type="text/JavaScript">
function toggle_display (block) {
var w = document.getElementById (block);
var t = document.getElementById (block + ":toggle");
if (w.style.display == "none") {
w.style.display = "block";
t.innerHTML = "⊟";
} else {
w.style.display = "none";
t.innerHTML = "⊞";
}
}
</script>
</head>
<body>
<div class="CollectionTitle">
<a href="../index.html">websocket-sharp</a> : <a href="index.html">WebSocketSharp.Net Namespace</a></div>
<div class="SideBar">
<p>
<a href="#T:WebSocketSharp.Net.WebHeaderCollection">Overview</a>
</p>
<p>
<a href="#T:WebSocketSharp.Net.WebHeaderCollection:Signature">Signature</a>
</p>
<p>
<a href="#T:WebSocketSharp.Net.WebHeaderCollection:Docs">Remarks</a>
</p>
<p>
<a href="#Members">Members</a>
</p>
<p>
<a href="#T:WebSocketSharp.Net.WebHeaderCollection:Members">Member Details</a>
</p>
</div>
<h1 class="PageTitle" id="T:WebSocketSharp.Net.WebHeaderCollection">WebHeaderCollection Class</h1>
<p class="Summary" id="T:WebSocketSharp.Net.WebHeaderCollection:Summary">
Provides a collection of the HTTP headers associated with a request or response.
</p>
<div id="T:WebSocketSharp.Net.WebHeaderCollection:Signature">
<h2>Syntax</h2>
<div class="Signature">[System.Runtime.InteropServices.ComVisible(true)]<br />public class <b>WebHeaderCollection</b> : <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.Runtime.Serialization.ISerializable">System.Runtime.Serialization.ISerializable</a></div>
</div>
<div class="Remarks" id="T:WebSocketSharp.Net.WebHeaderCollection:Docs">
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="T:WebSocketSharp.Net.WebHeaderCollection:Docs:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
</div>
<h2 class="Section">Requirements</h2>
<div class="SectionBox" id="T:WebSocketSharp.Net.WebHeaderCollection:Docs:Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<h2 class="Section" id="Members">Members</h2>
<div class="SectionBox" id="_Members">
<p>
See Also: Inherited members from
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameValueCollection">System.Collections.Specialized.NameValueCollection</a>.
</p>
<h2 class="Section">Public Constructors</h2>
<div class="SectionBox" id="Public Constructors">
<div class="SubsectionBox">
<table class="TypeMembers">
<tr valign="top">
<td>
<div>
</div>
</td>
<td>
<div>
<b>
<a href="#C:WebSocketSharp.Net.WebHeaderCollection">WebHeaderCollection</a>
</b>()</div>
</td>
<td>
Initializes a new instance of the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> class.
</td>
</tr>
</table>
</div>
</div>
<h2 class="Section">Protected Constructors</h2>
<div class="SectionBox" id="Protected Constructors">
<div class="SubsectionBox">
<table class="TypeMembers">
<tr valign="top">
<td>
<div>
</div>
</td>
<td>
<div>
<b>
<a href="#C:WebSocketSharp.Net.WebHeaderCollection(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">WebHeaderCollection</a>
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a>)</div>
</td>
<td>
Initializes a new instance of the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> class
with the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> and <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a>.
</td>
</tr>
</table>
</div>
</div>
<h2 class="Section">Public Properties</h2>
<div class="SectionBox" id="Public Properties">
<div class="SubsectionBox">
<table class="TypeMembers">
<tr valign="top">
<td>[read-only]<div>override </div></td>
<td>
<b>
<a href="#P:WebSocketSharp.Net.WebHeaderCollection.AllKeys">AllKeys</a>
</b>
</td>
<td>
<i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>[]</i>.
Gets all header names in the collection.
</td>
</tr>
<tr valign="top">
<td>[read-only]<div>override </div></td>
<td>
<b>
<a href="#P:WebSocketSharp.Net.WebHeaderCollection.Count">Count</a>
</b>
</td>
<td>
<i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>
</i>.
Gets the number of headers in the collection.
</td>
</tr>
<tr valign="top">
<td>
<div>
<i>default property</i>
</div>
<div>
</div>
</td>
<td>
<b>
<a href="#P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpRequestHeader)">Item</a>
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a>)</td>
<td>
<i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>
</i>.
Gets or sets the specified request <i>header</i> in the collection.
</td>
</tr>
<tr valign="top">
<td>
<div>
<i>default property</i>
</div>
<div>
</div>
</td>
<td>
<b>
<a href="#P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpResponseHeader)">Item</a>
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a>)</td>
<td>
<i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>
</i>.
Gets or sets the specified response <i>header</i> in the collection.
</td>
</tr>
<tr valign="top">
<td>[read-only]<div>override </div></td>
<td>
<b>
<a href="#P:WebSocketSharp.Net.WebHeaderCollection.Keys">Keys</a>
</b>
</td>
<td>
<i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection">System.Collections.Specialized.NameObjectCollectionBase.KeysCollection</a>
</i>.
Gets a collection of header names in the collection.
</td>
</tr>
</table>
</div>
</div>
<h2 class="Section">Public Methods</h2>
<div class="SectionBox" id="Public Methods">
<div class="SubsectionBox">
<table class="TypeMembers">
<tr valign="top">
<td>
<div>
</div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.Add(System.String)">Add</a>
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<blockquote>
Adds the specified <i>header</i> to the collection.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>
</div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.Add(System.Net.HttpRequestHeader,System.String)">Add</a>
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<blockquote>
Adds the specified request <i>header</i> with the specified <i>value</i> to the collection.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>
</div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.Add(System.Net.HttpResponseHeader,System.String)">Add</a>
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<blockquote>
Adds the specified response <i>header</i> with the specified <i>value</i> to the collection.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>override </div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.Add(System.String,System.String)">Add</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.String">string</a>)<blockquote>
Adds a header with the specified <i>name</i> and <i>value</i> to the collection.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>override </div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.Clear">Clear</a>
</b>()<blockquote>
Removes all headers from the collection.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>override </div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.Get(System.Int32)">Get</a>
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a></nobr><blockquote>
Get the value of the header with the specified <i>index</i> in the collection.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>override </div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.Get(System.String)">Get</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.String">string</a></nobr><blockquote>
Get the value of the header with the specified <i>name</i> in the collection.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>override </div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.GetEnumerator">GetEnumerator</a>
</b>()<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.IEnumerator">IEnumerator</a></nobr><blockquote>
Gets the enumerator to use to iterate through the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a>.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>override </div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.GetKey(System.Int32)">GetKey</a>
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a></nobr><blockquote>
Get the header name at the specified <i>index</i> position in the collection.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>override </div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">GetObjectData</a>
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a>)<blockquote>
Populates the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> with the data to need to
serialize the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> object.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>override </div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.GetValues(System.Int32)">GetValues</a>
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>[]</nobr><blockquote>
Gets an array of header values stored in the specified <i>index</i> position of the header collection.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>override </div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.GetValues(System.String)">GetValues</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.String">string</a>[]</nobr><blockquote>
Gets an array of header values stored in the specified <i>header</i> name.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>static </div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.IsRestricted(System.String)">IsRestricted</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>
Determines whether the specified header can be set for the request.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>static </div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.IsRestricted(System.String,System.Boolean)">IsRestricted</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.Boolean">bool</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
Determines whether the specified header can be set for the request or the response.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>override </div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.OnDeserialization(System.Object)">OnDeserialization</a>
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Object">object</a>)<blockquote>
Implements the <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.ISerializable">System.Runtime.Serialization.ISerializable</a> interface and raises the deserialization event
when the deserialization is complete.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>
</div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.Net.HttpRequestHeader)">Remove</a>
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a>)<blockquote>
Removes the specified header from the collection.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>
</div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.Net.HttpResponseHeader)">Remove</a>
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a>)<blockquote>
Removes the specified header from the collection.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>override </div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.String)">Remove</a>
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<blockquote>
Removes the specified header from the collection.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>
</div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.Set(System.Net.HttpRequestHeader,System.String)">Set</a>
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<blockquote>
Sets the specified header to the specified value.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>
</div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.Set(System.Net.HttpResponseHeader,System.String)">Set</a>
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<blockquote>
Sets the specified header to the specified value.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>override </div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.Set(System.String,System.String)">Set</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.String">string</a>)<blockquote>
Sets the specified header to the specified value.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>
</div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.ToByteArray">ToByteArray</a>
</b>()<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a>[]</nobr><blockquote>
Converts the current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> 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">
<td>
<div>override </div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.ToString">ToString</a>
</b>()<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a></nobr><blockquote>
Returns a <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that represents the current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a>.
</blockquote></td>
</tr>
</table>
</div>
</div>
<h2 class="Section">Protected Methods</h2>
<div class="SectionBox" id="Protected Methods">
<div class="SubsectionBox">
<table class="TypeMembers">
<tr valign="top">
<td>
<div>
</div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.AddWithoutValidate(System.String,System.String)">AddWithoutValidate</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.String">string</a>)<blockquote>
Adds a header to the collection without checking whether the header is on the restricted header list.
</blockquote></td>
</tr>
</table>
</div>
</div>
<h2 class="Section">Explicitly Implemented Interface Members</h2>
<div class="SectionBox" id="Explicitly Implemented Interface Members">
<div class="SubsectionBox">
<table class="TypeMembers">
<tr valign="top">
<td>
<div>
</div>
</td>
<td>
<a href="#M:WebSocketSharp.Net.WebHeaderCollection.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
<b>System.Runtime.Serialization.ISerializable.GetObjectData</b>
</a>
</td>
<td>
Populates the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> with the data to need to
serialize the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> object.
</td>
</tr>
</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.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="../WebSocketSharp/Ext.html#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">
<td>
<div>static </div>
</td>
<td colspan="2">
<b>
<a href="../WebSocketSharp/Ext.html#M:WebSocketSharp.Ext.IsNull``1(``0)">IsNull&lt;T&gt;</a>
</b>(<i>this</i> <i title="&#xA; The type of the parameter.&#xA; ">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&lt;T&gt;</a>
</b>(<i>this</i> <i title="&#xA; The type of the parameter.&#xA; ">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.Net.WebHeaderCollection:Members">
<h2 class="Section" id="MemberDetails">Member Details</h2>
<div class="SectionBox" id="_MemberDetails">
<h3 id="C:WebSocketSharp.Net.WebHeaderCollection">WebHeaderCollection Constructor</h3>
<blockquote id="C:WebSocketSharp.Net.WebHeaderCollection:member">
<p class="Summary">
Initializes a new instance of the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> class.
</p>
<h2>Syntax</h2>
<div class="Signature">public <b>WebHeaderCollection</b> ()</div>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="C:WebSocketSharp.Net.WebHeaderCollection:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
</div>
<h2 class="Section">Requirements</h2>
<div class="SectionBox" id="C:WebSocketSharp.Net.WebHeaderCollection:Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="C:WebSocketSharp.Net.WebHeaderCollection(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">WebHeaderCollection Constructor</h3>
<blockquote id="C:WebSocketSharp.Net.WebHeaderCollection(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):member">
<p class="Summary">
Initializes a new instance of the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> class
with the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> and <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a>.
</p>
<h2>Syntax</h2>
<div class="Signature">protected <b>WebHeaderCollection</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> serializationInfo, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a> streamingContext)</div>
<h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="C:WebSocketSharp.Net.WebHeaderCollection(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):Parameters">
<dl>
<dt>
<i>serializationInfo</i>
</dt>
<dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> that contains the data to need to serialize the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> object.
</dd>
<dt>
<i>streamingContext</i>
</dt>
<dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a> that contains the source of the serialized stream associated with the new <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a>.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="C:WebSocketSharp.Net.WebHeaderCollection(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
</td>
<td>
<i>serializationInfo</i> is <tt>null</tt>.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentException">ArgumentException</a>
</td>
<td>
An element with the specified name is not found in <i>serializationInfo</i>.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="C:WebSocketSharp.Net.WebHeaderCollection(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
</div>
<h2 class="Section">Requirements</h2>
<div class="SectionBox" id="C:WebSocketSharp.Net.WebHeaderCollection(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.String)">Add Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.String):member">
<p class="Summary">
Adds the specified <i>header</i> to the collection.
</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>Add</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> header)</div>
<h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.String):Parameters">
<dl>
<dt>
<i>header</i>
</dt>
<dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains a header with the name and value separated by a colon (:).
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.String):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
</td>
<td>
<i>header</i> is <tt>null</tt>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>, or
the name part of <i>header</i> is <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>.
</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>header</i> does not contain a colon.
</p>
<p>
-or-
</p>
<p>
<i>header</i> is a restricted header.
</p>
<p>
-or-
</p>
<p>
The name or value part of <i>header</i> contains invalid characters.
</p>
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentOutOfRangeException">ArgumentOutOfRangeException</a>
</td>
<td>
The length of the value part of <i>header</i> is greater than 65535.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow the <i>header</i>.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Add(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.Net.WebHeaderCollection.Add(System.String):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.Net.HttpRequestHeader,System.String)">Add Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.Net.HttpRequestHeader,System.String):member">
<p class="Summary">
Adds the specified request <i>header</i> with the specified <i>value</i> to the collection.
</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>Add</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a> header, <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.Net.WebHeaderCollection.Add(System.Net.HttpRequestHeader,System.String):Parameters">
<dl>
<dt>
<i>header</i>
</dt>
<dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a> is a request header to add.
</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 header to add.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.Net.HttpRequestHeader,System.String):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentOutOfRangeException">ArgumentOutOfRangeException</a>
</td>
<td>
The length of <i>value</i> is greater than 65535.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow any of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a> values.
</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>header</i> is a restricted header.
</p>
<p>
-or-
</p>
<p>
<i>value</i> contains invalid characters.
</p>
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.Net.HttpRequestHeader,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.Net.WebHeaderCollection.Add(System.Net.HttpRequestHeader,System.String):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.Net.HttpResponseHeader,System.String)">Add Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.Net.HttpResponseHeader,System.String):member">
<p class="Summary">
Adds the specified response <i>header</i> with the specified <i>value</i> to the collection.
</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>Add</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a> header, <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.Net.WebHeaderCollection.Add(System.Net.HttpResponseHeader,System.String):Parameters">
<dl>
<dt>
<i>header</i>
</dt>
<dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a> is a response header to add.
</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 header to add.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.Net.HttpResponseHeader,System.String):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentOutOfRangeException">ArgumentOutOfRangeException</a>
</td>
<td>
The length of <i>value</i> is greater than 65535.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow any of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a> values.
</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>header</i> is a restricted header.
</p>
<p>
-or-
</p>
<p>
<i>value</i> contains invalid characters.
</p>
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.Net.HttpResponseHeader,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.Net.WebHeaderCollection.Add(System.Net.HttpResponseHeader,System.String):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.String,System.String)">Add Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.String,System.String):member">
<p class="Summary">
Adds a header with the specified <i>name</i> and <i>value</i> to the collection.
</p>
<h2>Syntax</h2>
<div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>Add</b> (<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.Net.WebHeaderCollection.Add(System.String,System.String):Parameters">
<dl>
<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 name of the header to add.
</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 header to add.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Add(System.String,System.String):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</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>name</i> or <i>value</i> contains invalid characters.
</p>
<p>
-or-
</p>
<p>
<i>name</i> is a restricted header name.
</p>
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentOutOfRangeException">ArgumentOutOfRangeException</a>
</td>
<td>
The length of <i>value</i> is greater than 65535.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
</td>
<td>
<i>name</i> is <tt>null</tt> or <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow the header <i>name</i>.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Add(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.Net.WebHeaderCollection.Add(System.String,System.String):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.AddWithoutValidate(System.String,System.String)">AddWithoutValidate Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.AddWithoutValidate(System.String,System.String):member">
<p class="Summary">
Adds a header to the collection without checking whether the header is on the restricted header list.
</p>
<h2>Syntax</h2>
<div class="Signature">protected <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>AddWithoutValidate</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> headerName, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> headerValue)</div>
<h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.AddWithoutValidate(System.String,System.String):Parameters">
<dl>
<dt>
<i>headerName</i>
</dt>
<dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the name of the header to add.
</dd>
<dt>
<i>headerValue</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 header to add.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.AddWithoutValidate(System.String,System.String):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentException">ArgumentException</a>
</td>
<td>
<i>headerName</i> or <i>headerValue</i> contains invalid characters.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
</td>
<td>
<i>headerName</i> is <tt>null</tt> or <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentOutOfRangeException">ArgumentOutOfRangeException</a>
</td>
<td>
The length of <i>headerValue</i> is greater than 65535.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow the <i>headerName</i>.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.AddWithoutValidate(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.Net.WebHeaderCollection.AddWithoutValidate(System.String,System.String):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="P:WebSocketSharp.Net.WebHeaderCollection.AllKeys">AllKeys Property</h3>
<blockquote id="P:WebSocketSharp.Net.WebHeaderCollection.AllKeys:member">
<p class="Summary">
Gets all header names in the collection.
</p>
<h2>Syntax</h2>
<div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>[] <b>AllKeys</b> { get; }</div>
<h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.AllKeys:Value">
An array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains all header names in the collection.
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.AllKeys: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.Net.WebHeaderCollection.AllKeys:Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.Clear">Clear Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.Clear:member">
<p class="Summary">
Removes all headers from the collection.
</p>
<h2>Syntax</h2>
<div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>Clear</b> ()</div>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Clear: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.Net.WebHeaderCollection.Clear:Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="P:WebSocketSharp.Net.WebHeaderCollection.Count">Count Property</h3>
<blockquote id="P:WebSocketSharp.Net.WebHeaderCollection.Count:member">
<p class="Summary">
Gets the number of headers in the collection.
</p>
<h2>Syntax</h2>
<div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> <b>Count</b> { get; }</div>
<h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.Count:Value">
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> that indicates the number of headers in the collection.
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.Count: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.Net.WebHeaderCollection.Count:Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.Get(System.Int32)">Get Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.Get(System.Int32):member">
<p class="Summary">
Get the value of the header with the specified <i>index</i> in the collection.
</p>
<h2>Syntax</h2>
<div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>Get</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> index)</div>
<h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Get(System.Int32):Parameters">
<dl>
<dt>
<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 header to get.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Returns</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Get(System.Int32):Returns">
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that receives the value of the header.
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Get(System.Int32):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.Net.WebHeaderCollection.Get(System.Int32):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.Get(System.String)">Get Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.Get(System.String):member">
<p class="Summary">
Get the value of the header with the specified <i>name</i> in the collection.
</p>
<h2>Syntax</h2>
<div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>Get</b> (<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.Net.WebHeaderCollection.Get(System.String):Parameters">
<dl>
<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 name of the header to get.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Returns</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Get(System.String):Returns">
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that receives the value of the header.
<tt>null</tt> if there is no header with <i>name</i> in the collection.
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Get(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.Net.WebHeaderCollection.Get(System.String):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.GetEnumerator">GetEnumerator Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.GetEnumerator:member">
<p class="Summary">
Gets the enumerator to use to iterate through the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a>.
</p>
<h2>Syntax</h2>
<div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.IEnumerator">IEnumerator</a> <b>GetEnumerator</b> ()</div>
<h4 class="Subsection">Returns</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.GetEnumerator:Returns">
An instance of an implementation of the <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.IEnumerator">IEnumerator</a> interface
to use to iterate through the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a>.
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.GetEnumerator: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.Net.WebHeaderCollection.GetEnumerator:Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.GetKey(System.Int32)">GetKey Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.GetKey(System.Int32):member">
<p class="Summary">
Get the header name at the specified <i>index</i> position in the collection.
</p>
<h2>Syntax</h2>
<div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>GetKey</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> index)</div>
<h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.GetKey(System.Int32):Parameters">
<dl>
<dt>
<i>index</i>
</dt>
<dd>
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> is the zero-based index of the key to get from the collection.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Returns</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.GetKey(System.Int32):Returns">
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that receives the header name.
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.GetKey(System.Int32):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.Net.WebHeaderCollection.GetKey(System.Int32):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">GetObjectData Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):member">
<p class="Summary">
Populates the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> with the data to need to
serialize the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> object.
</p>
<h2>Syntax</h2>
<div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>GetObjectData</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> serializationInfo, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a> streamingContext)</div>
<h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):Parameters">
<dl>
<dt>
<i>serializationInfo</i>
</dt>
<dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> that holds the data to need to serialize the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> object.
</dd>
<dt>
<i>streamingContext</i>
</dt>
<dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a> that specifies the destination for the serialization.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
</td>
<td>
<i>serializationInfo</i> is <tt>null</tt>.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):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.Net.WebHeaderCollection.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.GetValues(System.Int32)">GetValues Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.GetValues(System.Int32):member">
<p class="Summary">
Gets an array of header values stored in the specified <i>index</i> position of the header collection.
</p>
<h2>Syntax</h2>
<div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>[] <b>GetValues</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> index)</div>
<h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.GetValues(System.Int32):Parameters">
<dl>
<dt>
<i>index</i>
</dt>
<dd>
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> is the zero-based index of the header in the collection.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Returns</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.GetValues(System.Int32):Returns">
An array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that receives the header values.
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.GetValues(System.Int32):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.Net.WebHeaderCollection.GetValues(System.Int32):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.GetValues(System.String)">GetValues Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.GetValues(System.String):member">
<p class="Summary">
Gets an array of header values stored in the specified <i>header</i> name.
</p>
<h2>Syntax</h2>
<div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>[] <b>GetValues</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> header)</div>
<h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.GetValues(System.String):Parameters">
<dl>
<dt>
<i>header</i>
</dt>
<dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains a header name.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Returns</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.GetValues(System.String):Returns">
An array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that receives the header values.
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.GetValues(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.Net.WebHeaderCollection.GetValues(System.String):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.IsRestricted(System.String)">IsRestricted Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.IsRestricted(System.String):member">
<p class="Summary">
Determines whether the specified header can be set for the request.
</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>IsRestricted</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> headerName)</div>
<h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.IsRestricted(System.String):Parameters">
<dl>
<dt>
<i>headerName</i>
</dt>
<dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the name of the header to test.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Returns</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.IsRestricted(System.String):Returns">
<tt>true</tt> if the header is restricted; otherwise, <tt>false</tt>.
</blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.IsRestricted(System.String):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
</td>
<td>
<i>headerName</i> is <tt>null</tt> or <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentException">ArgumentException</a>
</td>
<td>
<i>headerName</i> contains invalid characters.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.IsRestricted(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.Net.WebHeaderCollection.IsRestricted(System.String):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.IsRestricted(System.String,System.Boolean)">IsRestricted Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.IsRestricted(System.String,System.Boolean):member">
<p class="Summary">
Determines whether the specified header can be set for the request or the response.
</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>IsRestricted</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> headerName, <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.Net.WebHeaderCollection.IsRestricted(System.String,System.Boolean):Parameters">
<dl>
<dt>
<i>headerName</i>
</dt>
<dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the name of the header to test.
</dd>
<dt>
<i>response</i>
</dt>
<dd>
<tt>true</tt> if does the test for the response; for the request, <tt>false</tt>.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Returns</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.IsRestricted(System.String,System.Boolean):Returns">
<tt>true</tt> if the header is restricted; otherwise, <tt>false</tt>.
</blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.IsRestricted(System.String,System.Boolean):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
</td>
<td>
<i>headerName</i> is <tt>null</tt> or <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentException">ArgumentException</a>
</td>
<td>
<i>headerName</i> contains invalid characters.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.IsRestricted(System.String,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.Net.WebHeaderCollection.IsRestricted(System.String,System.Boolean):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpRequestHeader)">Item Property</h3>
<blockquote id="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpRequestHeader):member">
<p class="Summary">
Gets or sets the specified request <i>header</i> in the collection.
</p>
<h2>Syntax</h2>
<div class="Signature">
<p>
<i>This is the default property for this class.</i>
</p>public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> this [<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a> header] { get; set; }</div>
<h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpRequestHeader):Parameters">
<dl>
<dt>
<i>header</i>
</dt>
<dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a> that indicates a request header.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpRequestHeader):Value">
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the value of the specified request <i>header</i>.
</blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpRequestHeader):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow any of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a> values.
</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>header</i> is a restricted header.
</p>
<p>
-or-
</p>
<p>
<i>value</i> contains invalid characters.
</p>
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentOutOfRangeException">ArgumentOutOfRangeException</a>
</td>
<td>
The length of <i>value</i> is greater than 65535.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpRequestHeader):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.Net.WebHeaderCollection.Item(System.Net.HttpRequestHeader):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpResponseHeader)">Item Property</h3>
<blockquote id="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpResponseHeader):member">
<p class="Summary">
Gets or sets the specified response <i>header</i> in the collection.
</p>
<h2>Syntax</h2>
<div class="Signature">
<p>
<i>This is the default property for this class.</i>
</p>public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> this [<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a> header] { get; set; }</div>
<h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpResponseHeader):Parameters">
<dl>
<dt>
<i>header</i>
</dt>
<dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a> that indicates a response header.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpResponseHeader):Value">
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the value of the specified response <i>header</i>.
</blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpResponseHeader):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow any of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a> values.
</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>header</i> is a restricted header.
</p>
<p>
-or-
</p>
<p>
<i>value</i> contains invalid characters.
</p>
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentOutOfRangeException">ArgumentOutOfRangeException</a>
</td>
<td>
The length of <i>value</i> is greater than 65535.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.Item(System.Net.HttpResponseHeader):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.Net.WebHeaderCollection.Item(System.Net.HttpResponseHeader):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="P:WebSocketSharp.Net.WebHeaderCollection.Keys">Keys Property</h3>
<blockquote id="P:WebSocketSharp.Net.WebHeaderCollection.Keys:member">
<p class="Summary">
Gets a collection of header names in the collection.
</p>
<h2>Syntax</h2>
<div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection">System.Collections.Specialized.NameObjectCollectionBase.KeysCollection</a> <b>Keys</b> { get; }</div>
<h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.Keys:Value">
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection">System.Collections.Specialized.NameObjectCollectionBase.KeysCollection</a> that contains a collection of header names in the collection.
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.WebHeaderCollection.Keys: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.Net.WebHeaderCollection.Keys:Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.OnDeserialization(System.Object)">OnDeserialization Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.OnDeserialization(System.Object):member">
<p class="Summary">
Implements the <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.ISerializable">System.Runtime.Serialization.ISerializable</a> interface and raises the deserialization event
when the deserialization is complete.
</p>
<h2>Syntax</h2>
<div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>OnDeserialization</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Object">object</a> sender)</div>
<h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.OnDeserialization(System.Object):Parameters">
<dl>
<dt>
<i>sender</i>
</dt>
<dd>
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Object">object</a> that contains the source of the deserialization event.
</dd>
</dl>
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.OnDeserialization(System.Object):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.Net.WebHeaderCollection.OnDeserialization(System.Object):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.Net.HttpRequestHeader)">Remove Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.Net.HttpRequestHeader):member">
<p class="Summary">
Removes the specified header from the collection.
</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>Remove</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a> header)</div>
<h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.Net.HttpRequestHeader):Parameters">
<dl>
<dt>
<i>header</i>
</dt>
<dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a> to remove from the collection.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.Net.HttpRequestHeader):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow any of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a> values.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentException">ArgumentException</a>
</td>
<td>
<i>header</i> is a restricted header.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.Net.HttpRequestHeader):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.Net.WebHeaderCollection.Remove(System.Net.HttpRequestHeader):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.Net.HttpResponseHeader)">Remove Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.Net.HttpResponseHeader):member">
<p class="Summary">
Removes the specified header from the collection.
</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>Remove</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a> header)</div>
<h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.Net.HttpResponseHeader):Parameters">
<dl>
<dt>
<i>header</i>
</dt>
<dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a> to remove from the collection.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.Net.HttpResponseHeader):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow any of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a> values.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentException">ArgumentException</a>
</td>
<td>
<i>header</i> is a restricted header.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.Net.HttpResponseHeader):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.Net.WebHeaderCollection.Remove(System.Net.HttpResponseHeader):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.String)">Remove Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.String):member">
<p class="Summary">
Removes the specified header from the collection.
</p>
<h2>Syntax</h2>
<div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>Remove</b> (<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.Net.WebHeaderCollection.Remove(System.String):Parameters">
<dl>
<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 name of the header to remove from the collection.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Remove(System.String):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
</td>
<td>
<i>name</i> is <tt>null</tt> or <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>.
</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>name</i> contains invalid characters.
</p>
<p>
-or-
</p>
<p>
<i>name</i> is a restricted header name.
</p>
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow the header <i>name</i>.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Remove(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.Net.WebHeaderCollection.Remove(System.String):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.Set(System.Net.HttpRequestHeader,System.String)">Set Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.Set(System.Net.HttpRequestHeader,System.String):member">
<p class="Summary">
Sets the specified header to the specified value.
</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>Set</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a> header, <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.Net.WebHeaderCollection.Set(System.Net.HttpRequestHeader,System.String):Parameters">
<dl>
<dt>
<i>header</i>
</dt>
<dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a> to set.
</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 header to set.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Set(System.Net.HttpRequestHeader,System.String):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow any of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpRequestHeader">System.Net.HttpRequestHeader</a> values.
</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>header</i> is a restricted header.
</p>
<p>
-or-
</p>
<p>
<i>value</i> contains invalid characters.
</p>
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentOutOfRangeException">ArgumentOutOfRangeException</a>
</td>
<td>
The length of <i>value</i> is greater than 65535.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Set(System.Net.HttpRequestHeader,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.Net.WebHeaderCollection.Set(System.Net.HttpRequestHeader,System.String):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.Set(System.Net.HttpResponseHeader,System.String)">Set Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.Set(System.Net.HttpResponseHeader,System.String):member">
<p class="Summary">
Sets the specified header to the specified value.
</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>Set</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a> header, <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.Net.WebHeaderCollection.Set(System.Net.HttpResponseHeader,System.String):Parameters">
<dl>
<dt>
<i>header</i>
</dt>
<dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a> to set.
</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 header to set.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Set(System.Net.HttpResponseHeader,System.String):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow any of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.HttpResponseHeader">System.Net.HttpResponseHeader</a> values.
</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>header</i> is a restricted header.
</p>
<p>
-or-
</p>
<p>
<i>value</i> contains invalid characters.
</p>
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentOutOfRangeException">ArgumentOutOfRangeException</a>
</td>
<td>
The length of <i>value</i> is greater than 65535.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Set(System.Net.HttpResponseHeader,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.Net.WebHeaderCollection.Set(System.Net.HttpResponseHeader,System.String):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.Set(System.String,System.String)">Set Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.Set(System.String,System.String):member">
<p class="Summary">
Sets the specified header to the specified value.
</p>
<h2>Syntax</h2>
<div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>Set</b> (<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.Net.WebHeaderCollection.Set(System.String,System.String):Parameters">
<dl>
<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 name of the header to set.
</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 header to set.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Set(System.String,System.String):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
</td>
<td>
<i>name</i> is <tt>null</tt> or <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>.
</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>name</i> or <i>value</i> contain invalid characters.
</p>
<p>
-or-
</p>
<p>
<i>name</i> is a restricted header name.
</p>
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentOutOfRangeException">ArgumentOutOfRangeException</a>
</td>
<td>
The length of <i>value</i> is greater than 65535.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
</td>
<td>
The current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> instance does not allow the header <i>name</i>.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.Set(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.Net.WebHeaderCollection.Set(System.String,System.String):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">System.Runtime.Serialization.ISerializable.GetObjectData Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):member">
<p class="Summary">
Populates the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> with the data to need to
serialize the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> object.
</p>
<h2>Syntax</h2>
<div class="Signature">
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>System.Runtime.Serialization.ISerializable.GetObjectData</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> serializationInfo, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a> streamingContext)</div>
<h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):Parameters">
<dl>
<dt>
<i>serializationInfo</i>
</dt>
<dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> that holds the data to need to serialize the <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> object.
</dd>
<dt>
<i>streamingContext</i>
</dt>
<dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a> that specifies the destination for the serialization.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
</td>
<td>
<i>serializationInfo</i> is <tt>null</tt>.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):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.Net.WebHeaderCollection.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.ToByteArray">ToByteArray Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.ToByteArray:member">
<p class="Summary">
Converts the current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a> 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 <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a>[] <b>ToByteArray</b> ()</div>
<h4 class="Subsection">Returns</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.ToByteArray:Returns">
An array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a> that receives the converted current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a>.
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.ToByteArray: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.Net.WebHeaderCollection.ToByteArray:Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Net.WebHeaderCollection.ToString">ToString Method</h3>
<blockquote id="M:WebSocketSharp.Net.WebHeaderCollection.ToString:member">
<p class="Summary">
Returns a <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that represents the current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a>.
</p>
<h2>Syntax</h2>
<div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>ToString</b> ()</div>
<h4 class="Subsection">Returns</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.ToString:Returns">
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that represents the current <a href="../WebSocketSharp.Net/WebHeaderCollection.html">WebSocketSharp.Net.WebHeaderCollection</a>.
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.WebHeaderCollection.ToString: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.Net.WebHeaderCollection.ToString:Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
</div>
</div>
<hr size="1" />
<div class="Copyright">
</div>
</body>
</html>