network-transport-quic-0.1.0: Networking layer for Cloud Haskell based on QUIC
Safe HaskellNone
LanguageHaskell2010

Network.Transport.QUIC

Synopsis

Main interface

createTransport :: QUICTransportConfig -> IO Transport Source #

Create a new Transport based on the QUIC protocol.

Only a single transport should be created per Haskell process (threads can, and should, create their own endpoints though).

Transport configuration

data QUICTransportConfig Source #

Represents the configuration used by the entire transport.

Constructors

QUICTransportConfig 

Fields

Re-export to generate credentials

credentialLoadX509 #

Arguments

:: FilePath

public certificate (X.509 format)

-> FilePath

private key associated

-> IO (Either String Credential) 

try to create a new credential object from a public certificate and the associated private key that are stored on the filesystem in PEM format.