Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data RawHttp2Connection = RawHttp2Connection {
- _sendRaw :: [ByteString] -> IO ()
- _nextRaw :: Int -> IO ByteString
- _close :: IO ()
- newRawHttp2Connection :: HostName -> PortNumber -> Maybe ClientParams -> IO RawHttp2Connection
Documentation
data RawHttp2Connection Source #
RawHttp2Connection | |
|
newRawHttp2Connection Source #
:: HostName | Server's hostname. |
-> PortNumber | Server's port to connect to. |
-> Maybe ClientParams | TLS parameters. The |
-> IO RawHttp2Connection |
Initiates a RawHttp2Connection with a server.
The current code does not handle closing the connexion, yikes.