Crosser Technologies - Server
Crosser Technologies - Server
Namespaces
Crosser.Server Namespaces
Crosser.Server.Modules Namespaces
Crosser.Server.Modules.Transport
BaseTransport Class
BaseTransport Methods
WriteAsync Method
WriteAsync Method (Byte[], Boolean)
WriteAsync Method (Byte[], Int32, Int32, Boolean)
BaseTransport
WriteAsync Method (
Byte
, Int32, Int32, 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#
Copy
public
abstract
Task
WriteAsync
(
byte
[]
buffer
,
int
offset
,
int
length
,
bool
flush
=
false
)
Parameters
buffer
Type:
System
Byte
The buffer to write into
offset
Type:
System
Int32
Position to start writing on in the buffer
length
Type:
System
Int32
The maximum length to read from the transport
flush
(Optional)
Type:
System
Boolean
True to force a flush on the transport
Return Value
Type:
Task
Task
Implements
IBaseTransport
WriteAsync(
Byte
, Int32, Int32, Boolean)
See Also
Reference
BaseTransport Class
WriteAsync Overload
Crosser.Server.Modules.Transport Namespace