Click or drag to resize

SocketTransportWriteAsync Method (Byte, Boolean)

Write data to the underlying stream

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

Parameters

buffer
Type: SystemByte
data to write
flush (Optional)
Type: SystemBoolean
If true the stream will be flushed

Return Value

Type: Task

Implements

IBaseTransportWriteAsync(Byte, Boolean)
See Also