GlidingSquirrel

Documentation for this section has not yet been entered.

SBRL.GlidingSquirrel Namespace

Documentation for this section has not yet been entered.

Type Description
ByteUtilities Contains a collection of utilities related to manipulating byte arrays.
Env A bunch of mildly interesting statistics about the global process, including the number of seconds since the process was started. You can probably igmore this - it's currently only the Log class.
Log The internal logging class for the http / websockets server. Has properties that let you customise the logging level for debugging purposes.
LogLevel A list of logging levels.

SBRL.GlidingSquirrel.Http Namespace

Documentation for this section has not yet been entered.

Type Description
Connection Values for the connection header.
HttpBasicAuthCredentials Represents a set of credentials recieved via HTTP Basic authentication.
HttpConnectionAction Describes what Gliding Squirrel should do with a connection once your HandleRequest() method has finished building a response.
HttpMessage Represents a general HTTP message. May be either a request or a response. This is the base class for all the common functionality that HttpRequest and HttpResponse share.
HttpMethod Represents the method of an HTTP request.
HttpRequest Represents an http request.
HttpResponse Represents an http response.
HttpResponseCode Represents an HTTP response code and its associated descriptive message, such as "200 OK", and "404 Not Found".
HttpServer The main HTTP Server implementation class. Inherit from this class to build your own HTTP server! Please note that for WebSockets support you'll need to inherit from the seperate SBRL.GlidingSquirrel.Websocket.WebsocketServer class instead.
TransferEncodings Values for the transfer-encoding header.

SBRL.GlidingSquirrel.Websocket Namespace

Documentation for this section has not yet been entered.

Type Description
BinaryMessageEventArgs Event arguments passed when the BinaryMessage event is fired.
BinaryMessageEventHandler The delegate definition for the websockets OnBinaryMessage event.
ClientConnectedEventArgs Event arguments passed when the ClientConnected event is fired.
ClientConnectedEventHandler The delegate type used in the ClientConnected event in the WebsocketServer. This event is fired when a new client connects to the server.
ClientDisconnectedEventArgs Event arguments passed when the ClientDisconnected event is fired.
ClientDisconnectedEventHandler The delegate definition for the websockets OnDisconnection event on both the websocket server and the client classes.
NextFrameEventArgs Event arguments passed when the NextFrame event is fired.
NextFrameEventHandler The delegate definition for the websockets OnFrameRecieved event.
PayloadLengthType Indicates the method by which a payload's length was specified.
TextMessageEventArgs Event arguments passed when the TextMessage event is fired.
TextMessageEventHandler The delegate definition for the websockets OnTextMessage event.
WebsocketClient Represents a websockets connection to a remote client. Also used by the SBRL.GlidingSquirrel.Websocket.WebsocketServer class to represent a currently conencted client, since they practically use the same handling code and all :P
WebsocketClientHandshakeException Something went wrong during the websocket handshake.
WebsocketCloseReason Indicates the reason why a websocket connection is beingg closed.
WebsocketFrame Represents a single frame that's either receieved or about to be sent to or from a websockets client.
WebsocketFrameType Indicates the a type of websocket frame.
WebsocketServer The main Websockets Server class. Inherit from this to create your own websockets-capable HTTP server! Note that if you don't want or need the Websockets support, you should inherit from SBRL.GlidingSquirrel.Http.HttpServer instead.