glirc-2.41: Console IRC client
Copyright(c) Eric Mertens 2016
LicenseISC
Maintainer[email protected]
Safe HaskellSafe-Inferred
LanguageHaskell2010

Client.Network.Connect

Description

This module is responsible for creating Connection values for a particular server as specified by a ServerSettings. This involves setting up certificate stores an mapping network settings from the client configuration into the network connection library.

Synopsis

Documentation

withConnection :: ServerSettings -> (Connection -> IO a) -> IO a Source #

Create a new Connection which will be closed when the continuation finishes.