glirc-2.33.1: Console IRC client

Copyright(c) Eric Mertens 2016
LicenseISC
Maintaineremertens@gmail.com
Safe HaskellNone
LanguageHaskell2010

Client.Configuration.ServerSettings

Contents

Description

This module defines the settings used for an individual IRC connection. These are static settings that are not expected change over the lifetime of a connection.

Synopsis

Server settings type

data ServerSettings Source #

Static server-level settings

Constructors

ServerSettings 

Fields

data HookConfig Source #

Hook name and configuration arguments

Constructors

HookConfig Text [Text] 

Lenses

Load function

loadDefaultServerSettings :: IO ServerSettings Source #

Load the defaults for server settings based on the environment variables.

Environment variables USER, IRCPASSSWORD, and SASLPASSWORD are used.

TLS settings

data UseTls Source #

Security setting for network connection

Constructors

UseTls

TLS connection

UseInsecureTls

TLS connection without certificate checking

UseInsecure

Plain connection

Instances
Show UseTls Source # 
Instance details

Defined in Client.Configuration.ServerSettings

data Fingerprint Source #

Fingerprint used to validate server certificates.

Constructors

FingerprintSha1 ByteString

SHA-1 fingerprint

FingerprintSha256 ByteString

SHA-2 256-bit fingerprint

FingerprintSha512 ByteString

SHA-2 512-bit fingerprint