FiberSocket.write

void write(scope const(ubyte)[] data) @trusted

Write data to the connection. Yields if the OS send buffer is full, then retries until all data has been accepted.

Parameters

dataThe bytes to send.

Throws

FiberIoException if the connection is closed or a write

error occurs.