configuration-tools-0.2.4.1: Tools for specifying and parsing configurations

Safe HaskellNone

Configuration.Utils.Http

Contents

Synopsis

HTTP Service TLS Configuration

data HttpServiceTLSConfiguration Source

In order to make TLS optional this type should be used wrapped into a Maybe.

HTTP Service Configuration

data HttpServiceConfiguration Source

We restrict services to use either HTTP or HTTPS but not both.

TLS can be turned off explicitely in the configuration file by setting the respective section to null. It can not be turned on or off via command line options. But once it is turned on the values for the certificate and key file can be changed by command line options.

Http Client Configuration