sockets-0.4.0.0: High-level network sockets

Safe HaskellNone
LanguageHaskell2010

Socket.Stream.Interruptible.Hybrid

Documentation

sendMutableBytesUnmanagedBytes Source #

Arguments

:: TVar Bool

Interrupt. On True, give up and return Left SendInterrupted.

-> Connection

Connection

-> MutableBytes RealWorld

First payload

-> UnmanagedBytes

Second payload

-> IO (Either (SendException Interruptible) ())