Alchemy Websockets
An extremely efficient C# WebSocket server.
Alchemy.Handlers.WebSocket.hybi10.ClientHandshake Class Reference

An easy wrapper for the header to access client handshake data. See http://www.whatwg.org/specs/web-socket-protocol/ for more details on the WebSocket Protocol. More...

List of all members.

Public Member Functions

 ClientHandshake ()
 ClientHandshake (Header header)
 Initializes a new instance of the ClientHandshake class.
bool IsValid ()
 Determines whether this instance is valid.
override string ToString ()
 Returns a System.String that represents this instance.

Public Attributes

string Host = String.Empty
string Key = String.Empty
string Origin = String.Empty
string ResourcePath = String.Empty

Properties

HttpCookieCollection Cookies [get, set]
string SubProtocol [get, set]
string Version [get, set]
Dictionary< string, string > AdditionalFields [get, set]

Detailed Description

An easy wrapper for the header to access client handshake data. See http://www.whatwg.org/specs/web-socket-protocol/ for more details on the WebSocket Protocol.

Definition at line 13 of file Handshakes.cs.


Constructor & Destructor Documentation

Initializes a new instance of the ClientHandshake class.

Parameters:
headerThe header.

Definition at line 41 of file Handshakes.cs.


Member Function Documentation

Determines whether this instance is valid.

Returns:
true if this instance is valid; otherwise, false.

Definition at line 67 of file Handshakes.cs.

Returns a System.String that represents this instance.

Returns:
A System.String that represents this instance.

Definition at line 82 of file Handshakes.cs.


Member Data Documentation

Definition at line 29 of file Handshakes.cs.

Definition at line 30 of file Handshakes.cs.

Definition at line 31 of file Handshakes.cs.

Definition at line 32 of file Handshakes.cs.


Property Documentation

Definition at line 59 of file Handshakes.cs.

Definition at line 56 of file Handshakes.cs.

Definition at line 58 of file Handshakes.cs.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties