Http Methods |
The Http type exposes the following members.
Name | Description | |
---|---|---|
Dispose |
Release resources and update IServerStatistics (Overrides ProtocolDispose.) | |
EnsureController |
Makes sure that there is an instance of a specific controller.
Also makes sure that security is in place. Knowing what methods the connection can call.
(Inherited from Protocol.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
ExecuteCall |
Invoke the correct RPC controller/method with the payload.
Also handles return values when needed
(Inherited from Protocol.) | |
ExecuteCallSynchronously |
Invoke the correct RPC controller/method with the payload.
Also handles return values when needed
Will execute 1 operation at the time. Other operations will wait.
This will be executed when the IController or the method being invoked is decorated with the RunSynchronouslyAttribute (Inherited from Protocol.) | |
ExecuteHttpCall |
Executes the call to the current ControllerDelegate and sends back a HTTP response based on the result
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FlushTransport |
Flushes the IBaseTransport write stream
(Inherited from Protocol.) | |
GetControllerDelegate |
Creates a ControllerDelegate to use when calling the controller/method
(Inherited from Protocol.) | |
GetDeadConnectionFrame |
Creates and return a DeadConnection message wrapped in a WebSocket frame
(Overrides ProtocolGetDeadConnectionFrame.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetPingFrame |
Build and returns a PINGFRAME (Overrides ProtocolGetPingFrame.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasControllerInstanceOf |
True if the controllers repository has a instance of the specific BinaryKey (Inherited from Protocol.) | |
InitClientStats |
Setup the properties on the ClientStats object
(Inherited from Protocol.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ReadLoop |
Read loop for HTTP/WebSockets
(Overrides ProtocolReadLoop.) | |
RemoveController |
Removes a controller instance from the Controllers repository.
(Inherited from Protocol.) | |
Send(Byte) |
Adds the data to be sent to the OutQueue
(Overrides ProtocolSend(Byte).) | |
Send(BinaryKey, String, Byte) |
Builds a RPC frame and push it to the OutQueue
(Overrides ProtocolSend(BinaryKey, String, Byte).) | |
Send(Byte, Byte, Byte, FrameType) |
Builds a RPC frame and push it to the OutQueue
| |
Send(Byte, Byte, Byte, Byte) |
Builds a RPC frame and push it to the OutQueue
(Overrides ProtocolSend(Byte, Byte, Byte, Byte).) | |
SendLoop |
Send loop that reads the OutQueue (Inherited from Protocol.) | |
StartPing |
If the connection is upgraded to WebSockets this starts the heartbeeat.
(Overrides ProtocolStartPing.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |