Click or drag to resize

HttpSend Method (Byte, Byte, Byte, FrameType)

Builds a RPC frame and push it to the OutQueue

Namespace:  Crosser.Server.Modules.Protocol.HTTP
Assembly:  Crosser.Server (in Crosser.Server.dll) Version: 0.0.5
Syntax
C#
public Task Send(
	byte[] controller,
	byte[] method,
	byte[] data,
	FrameType frameType = FrameType.Text
)

Parameters

controller
Type: SystemByte
the IController alias represented as bytes
method
Type: SystemByte
the method to use in the RPC call
data
Type: SystemByte
the data to pass to the method in the RPC call
frameType (Optional)
Type: Crosser.Common.Server.ProtocolFrameType
the FrameType to use in the websocket frame. Default is Text

Return Value

Type: Task
Task
See Also