Public Attributes | List of all members
HttpServerConfiguration Struct Reference

Shared state between HTTP sessions. More...

#include <HttpServerConfiguration.hpp>

Public Attributes

const std::shared_ptr< const System::Clockclock
 The clock used by the server. More...
 
const std::shared_ptr< EnvironmentPropertiesconfiguration
 The Http server's environment configuration. More...
 
const TCP::endpoint endpoint
 The IP address and port on which the server is listening. More...
 
const std::shared_ptr< HttpWebApphttpHandler
 The handler implementation used to handle HTTP messages. More...
 
const BalauLogger logger
 The main logger into which the server will log. More...
 
const std::shared_ptr< MimeTypesmimeTypes
 The map of registered mime types. More...
 
const std::string serverId
 The server identification string. More...
 
const std::string sessionCookieName
 The name of the cookie where the client session id is stored. More...
 
const std::shared_ptr< WsWebAppwsHandler
 The handler implementation used to handle WebSocket messages. More...
 

Detailed Description

Shared state between HTTP sessions.

Member Data Documentation

◆ clock

const std::shared_ptr<const System::Clock> clock

The clock used by the server.

◆ configuration

const std::shared_ptr<EnvironmentProperties> configuration

The Http server's environment configuration.

This is available to web applications if they require it after the initial construction time configuration.

◆ endpoint

const TCP::endpoint endpoint

The IP address and port on which the server is listening.

◆ httpHandler

const std::shared_ptr<HttpWebApp> httpHandler

The handler implementation used to handle HTTP messages.

◆ logger

const BalauLogger logger

The main logger into which the server will log.

◆ mimeTypes

const std::shared_ptr<MimeTypes> mimeTypes

The map of registered mime types.

◆ serverId

const std::string serverId

The server identification string.

◆ sessionCookieName

const std::string sessionCookieName

The name of the cookie where the client session id is stored.

◆ wsHandler

const std::shared_ptr<WsWebApp> wsHandler

The handler implementation used to handle WebSocket messages.


The documentation for this struct was generated from the following file: