Click or drag to resize

Http Methods

The Http type exposes the following members.

Methods
  NameDescription
Public methodDispose
Release resources and update IServerStatistics
(Overrides ProtocolDispose.)
Protected methodEnsureController
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.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodExecuteCall
Invoke the correct RPC controller/method with the payload. Also handles return values when needed
(Inherited from Protocol.)
Protected methodExecuteCallSynchronously
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.)
Protected methodExecuteHttpCall
Executes the call to the current ControllerDelegate and sends back a HTTP response based on the result
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFlushTransport
Flushes the IBaseTransport write stream
(Inherited from Protocol.)
Protected methodGetControllerDelegate
Creates a ControllerDelegate to use when calling the controller/method
(Inherited from Protocol.)
Protected methodGetDeadConnectionFrame
Creates and return a DeadConnection message wrapped in a WebSocket frame
(Overrides ProtocolGetDeadConnectionFrame.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetPingFrame
Build and returns a PINGFRAME
(Overrides ProtocolGetPingFrame.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasControllerInstanceOf
True if the controllers repository has a instance of the specific BinaryKey
(Inherited from Protocol.)
Protected methodInitClientStats
Setup the properties on the ClientStats object
(Inherited from Protocol.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadLoop
Read loop for HTTP/WebSockets
(Overrides ProtocolReadLoop.)
Public methodRemoveController
Removes a controller instance from the Controllers repository.
(Inherited from Protocol.)
Public methodSend(Byte)
Adds the data to be sent to the OutQueue
(Overrides ProtocolSend(Byte).)
Public methodSend(BinaryKey, String, Byte)
Builds a RPC frame and push it to the OutQueue
(Overrides ProtocolSend(BinaryKey, String, Byte).)
Public methodSend(Byte, Byte, Byte, FrameType)
Builds a RPC frame and push it to the OutQueue
Protected methodSend(Byte, Byte, Byte, Byte)
Builds a RPC frame and push it to the OutQueue
(Overrides ProtocolSend(Byte, Byte, Byte, Byte).)
Public methodSendLoop
Send loop that reads the OutQueue
(Inherited from Protocol.)
Protected methodStartPing
If the connection is upgraded to WebSockets this starts the heartbeeat.
(Overrides ProtocolStartPing.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also