Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Network.HTTP2.TLS.Internal
Synopsis
- mkRecvTCP :: Settings -> Socket -> IO (IO ByteString)
- sendTCP :: Socket -> ByteString -> IO ()
- data IOBackend = IOBackend {
- send :: ByteString -> IO ()
- sendMany :: [ByteString] -> IO ()
- recv :: IO ByteString
- requestSock :: Socket
- 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
Documentation
Sending and receiving functions.
Tiemout is reset when they return.
One exception is the slowloris attach prevention.
See settingsSlowlorisSize
.
Constructors
IOBackend | |
Fields
|
sendManyTLS :: Context -> [ByteString] -> IO () Source #