Click or drag to resize

BaseTransportWriteAsync Method (Byte, Boolean)

Overwrite this in your custom transport to write to the transport

Namespace:  Crosser.Server.Modules.Transport
Assembly:  Crosser.Server (in Crosser.Server.dll) Version: 0.0.5
Syntax
C#
public abstract Task WriteAsync(
	byte[] buffer,
	bool flush = false
)

Parameters

buffer
Type: SystemByte
The payload to send
flush (Optional)
Type: SystemBoolean
True to force a flush on the transport

Return Value

Type: Task
Task

Implements

IBaseTransportWriteAsync(Byte, Boolean)
See Also