websocket-sharp
System.Collections.Specialized.NameValueCollection
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices.ComVisible(true)
Provides a collection of the HTTP headers associated with a request or response.
To be added.
Constructor
Initializes a new instance of the class.
To be added.
Constructor
A that holds the serialized object data.
A that contains the contextual information about the source or destination.
Initializes a new instance of the class
with the specified and .
To be added.
Method
System.Void
A that contains a header with the name and value separated by a colon (:).
Adds the specified to the collection.
To be added.
is or a .
does not contain a colon.
Method
System.Void
A that contains the name of the request header to add.
A that contains the value of the header to add.
Adds the specified request with the specified to the collection.
To be added.
Method
System.Void
A that contains the name of the response header to add.
A that contains the value of the header to add.
Adds the specified response with the specified to the collection.
To be added.
Method
System.Void
A that contains the name of the header to add.
A that contains the value of the header to add.
Adds a header with the specified and to the collection.
To be added.
is or a .
-or-
is a restricted header that must be set with a property setting.
-or-
The length of is greater than 65535.
Method
System.Void
A that contains the name of the header to add.
A that contains the value of the header to add.
Adds a header to the collection without checking whether the header is on the restricted header list.
To be added.
is , , or
contains invalid characters.
-or-
contains invalid characters.
Property
System.String[]
Gets all header names in the collection.
An array of that contains all header names in the collection.
To be added.
Method
System.Void
Removes all headers from the collection.
To be added.
Property
System.Int32
Gets the number of headers in the collection.
An that indicates the number of headers in the collection.
To be added.
Method
System.String
An that is the zero-based index of the header to get.
Get the value of the header with the specified in the collection.
A that receives the value of the header.
To be added.
Method
System.String
A that contains the name of the header to get.
Get the value of the header with the specified in the collection.
A that receives the value of the header.
if there is no header with in the collection.
To be added.
Method
System.Collections.IEnumerator
Gets the enumerator to use to iterate through the .
An instance of an implementation of the interface
to use to iterate through the .
To be added.
Method
System.String
An is the zero-based index of the key to get from the collection.
Get the header name at the specified position in the collection.
A that receives the header name.
To be added.
Method
System.Void
A that holds the serialized object data.
A that specifies the destination for the serialization.
Populates the specified with the data needed to serialize the .
To be added.
Method
System.String[]
An is the zero-based index of the header in the collection.
Gets an array of header values stored in the specified position of the header collection.
An array of that receives the header values.
To be added.
Method
System.String[]
A that contains a header name.
Gets an array of header values stored in the specified name.
An array of that receives the header values.
To be added.
Method
System.Boolean
A that contains the name of the header to test.
Determines whether the specified header can be set for the request.
true if the header is restricted; otherwise, false.
To be added.
is or .
contains invalid characters.
Method
System.Boolean
A that contains the name of the header to test.
true if does the test for the response; for the request, false.
Determines whether the specified header can be set for the request or the response.
true if the header is restricted; otherwise, false.
To be added.
is or .
contains invalid characters.
Property
System.String
A that contains a request header name.
Gets or sets the specified request in the collection.
A that contains the value of the specified request .
To be added.
Property
System.String
A that contains a response header name.
Gets or sets the specified response in the collection.
A that contains the value of the specified response .
To be added.
Property
System.Collections.Specialized.NameObjectCollectionBase+KeysCollection
Gets a collection of header names in the collection.
A that contains a collection of header names in the collection.
To be added.
Method
System.Void
An that contains the source of the deserialization event.
Implements the interface and raises the deserialization event
when the deserialization is complete.
To be added.
Method
System.Void
A to remove from the collection.
Removes the specified header from the collection.
To be added.
Method
System.Void
A to remove from the collection.
Removes the specified header from the collection.
To be added.
Method
System.Void
A that contains the name of the header to remove from the collection.
Removes the specified header from the collection.
To be added.
is or .
contains invalid characters.
-or-
is a restricted header name.
Method
System.Void
A to set.
A that contains the value of the header to set.
Sets the specified header to the specified value.
To be added.
Method
System.Void
A to set.
A that contains the value of the header to set.
Sets the specified header to the specified value.
To be added.
Method
System.Void
A that contains the name of the header to set.
A that contains the value of the header to set.
Sets the specified header to the specified value.
To be added.
is or .
or contain invalid characters.
-or-
is a restricted header name.
The length of is greater than 65535.
Method
System.Void
A that holds the serialized object data.
A that specifies the destination for the serialization.
Populates the specified with the data needed to serialize the .
To be added.
Method
System.Byte[]
Converts the current to an array of .
An array of that receives the converted current .
To be added.
Method
System.String
Returns a that represents the current .
A that represents the current .
To be added.