Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data RawHttp2Connection = RawHttp2Connection {
- _sendRaw :: [ByteString] -> ClientIO ()
- _nextRaw :: Int -> ClientIO ByteString
- _close :: ClientIO ()
- newRawHttp2Connection :: HostName -> PortNumber -> Maybe ClientParams -> ClientIO RawHttp2Connection
- newRawHttp2ConnectionSocket :: Socket -> Maybe ClientParams -> ClientIO RawHttp2Connection
Documentation
data RawHttp2Connection Source #
RawHttp2Connection | |
|
newRawHttp2Connection Source #
:: HostName | Server's hostname. |
-> PortNumber | Server's port to connect to. |
-> Maybe ClientParams | TLS parameters. The |
-> ClientIO 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 |
-> ClientIO 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