http2-client-0.8.0.1: A native HTTP2 client library.

Safe HaskellNone
LanguageHaskell2010

Network.HTTP2.Client.RawConnection

Synopsis

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 onSuggestALPN hook is overwritten to always return ["h2", "h2-17"].

-> IO RawHttp2Connection 

Initiates a RawHttp2Connection with a server.

The current code does not handle closing the connexion, yikes.