glirc-2.35: Console IRC client

Copyright(c) Eric Mertens 2016
LicenseISC
Maintaineremertens@gmail.com
Safe HaskellNone
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.