| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Network.HTTP2.Client.RawConnection
Synopsis
- data RawHttp2Connection = RawHttp2Connection {
- _sendRaw :: [ByteString] -> ClientIO ()
- _nextRaw :: Int -> ClientIO ByteString
- _close :: ClientIO ()
- newRawHttp2Connection :: HostName -> PortNumber -> Maybe ClientParams -> ClientIO RawHttp2Connection
- newRawHttp2ConnectionUnix :: String -> Maybe ClientParams -> ClientIO RawHttp2Connection
- newRawHttp2ConnectionSocket :: Socket -> Maybe ClientParams -> ClientIO RawHttp2Connection
Documentation
data RawHttp2Connection Source #
Constructors
| RawHttp2Connection | |
Fields
| |
newRawHttp2Connection Source #
Arguments
| :: 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.
newRawHttp2ConnectionUnix Source #
Arguments
| :: String | Path to the socket. |
| -> Maybe ClientParams | TLS parameters. The |
| -> ClientIO RawHttp2Connection |
Initiates a RawHttp2Connection with a unix domain socket.
The current code does not handle closing the connexion, yikes.
newRawHttp2ConnectionSocket Source #
Arguments
| :: 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