TcpConnection.send
SendResult send(scope const(ubyte)[] data) @trustedSend bytes over the connection.
Data is copied into an internal send queue (Copy semantics). The caller may reuse or free the buffer immediately.
Parameters
data | Bytes to send. |
Returns
Result indicating success, partial send, backpressure, or error.