Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- mkRecvTCP :: Settings -> Socket -> IO (IO ByteString)
- sendTCP :: Socket -> ByteString -> IO ()
- data IOBackend = IOBackend {
- send :: ByteString -> IO ()
- sendMany :: [ByteString] -> IO ()
- recv :: IO ByteString
- mySockAddr :: SockAddr
- peerSockAddr :: SockAddr
- timeoutIOBackend :: Handle -> Settings -> IOBackend -> IOBackend
- tlsIOBackend :: Context -> Socket -> IO IOBackend
- tcpIOBackend :: Settings -> Socket -> IO IOBackend
- sendTLS :: Context -> ByteString -> IO ()
- sendManyTLS :: Context -> [ByteString] -> IO ()
- recvTLS :: Context -> IO ByteString
- mkBackend :: Settings -> Socket -> IO Backend
- gclose :: Socket -> IO ()
Documentation
Sending and receiving functions.
Tiemout is reset when they return.
One exception is the slowloris attach prevention.
See settingsSlowlorisSize
.
IOBackend | |
|
sendManyTLS :: Context -> [ByteString] -> IO () Source #