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
- newRawHttp2ConnectionSocket :: Socket -> 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.
newRawHttp2ConnectionSocket Source #
:: Socket | A connected socket. |
-> Maybe ClientParams | TLS parameters. The |
-> IO RawHttp2Connection |
Initiates a RawHttp2Connection with a server over a connected socket.
The current code does not handle closing the connexion, yikes. Since 0.8.0.2