|
Alchemy Websockets
An extremely efficient C# WebSocket server.
|
This class implements a rudimentary HTTP header reading interface. More...
Public Member Functions | |
| Header (string data) | |
| Initializes a new instance of the Header class. Accepts a string that represents an HTTP header. | |
Public Attributes | |
| HttpCookieCollection | Cookies = new HttpCookieCollection() |
| Any cookies sent with the header. | |
| String | Method = String.Empty |
| The HTTP Method (GET/POST/PUT, etc.) | |
| Protocol | Protocol = Protocol.None |
| What protocol this header represents, if any. | |
| string | RequestPath = string.Empty |
| The path requested by the header. | |
Static Public Attributes | |
| static string | Pattern |
| Regular expression to parse http header. | |
Properties | |
| string | this[string key] [get, set] |
| Gets or sets the Fields object with the specified key. | |
This class implements a rudimentary HTTP header reading interface.
| Alchemy.Classes.Header.Header | ( | string | data | ) |
| HttpCookieCollection Alchemy.Classes.Header.Cookies = new HttpCookieCollection() |
Any cookies sent with the header.
Definition at line 40 of file Header.cs.
Referenced by Alchemy.Handlers.WebSocket.hybi10.ClientHandshake.ClientHandshake(), and Alchemy.Handlers.WebSocket.hybi00.ClientHandshake.ClientHandshake().
| String Alchemy.Classes.Header.Method = String.Empty |
string Alchemy.Classes.Header.Pattern [static] |
| Protocol Alchemy.Classes.Header.Protocol = Protocol.None |
What protocol this header represents, if any.
Definition at line 50 of file Header.cs.
Referenced by Alchemy.Handlers.Authentication.Authenticate(), and Alchemy.Handlers.Handler.ProcessHeader().
| string Alchemy.Classes.Header.RequestPath = string.Empty |
The path requested by the header.
Definition at line 56 of file Header.cs.
Referenced by Alchemy.Handlers.Authentication.Authenticate(), Alchemy.Handlers.WebSocket.hybi10.ClientHandshake.ClientHandshake(), and Alchemy.Handlers.WebSocket.hybi00.ClientHandshake.ClientHandshake().
string Alchemy.Classes.Header.this[string key] [get, set] |