socketplate ~master (2023-07-02T15:38:39.8213007)
Dub
Repo
SocketConnection.send
socketplate
connection
SocketConnection
Sends data on the connection
struct
SocketConnection
@
safe
ptrdiff_t
send
(
scope
const
(
void
)[]
buffer
)
Return Value
Type:
ptrdiff_t
number of bytes sent
or
socketERROR
on failure
Throws
SocketTimeoutException
on timeout
SocketException
on failure
Meta
Source
See Implementation
socketplate
connection
SocketConnection
constructors
this
functions
close
empty
isAlive
localAddress
popCurrentError
receive
receiveAll
receiveSlice
remoteAddress
send
sendAll
timeout
Sends data on the connection