lintel 0.2.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
lintel::ServerProvider Class Reference

#include <ServerProvider.h>

Public Member Functions

 ServerProvider (const std::shared_ptr< Configuration > &configuration, const std::vector< std::shared_ptr< Controller > > &controllers)
 
const std::shared_ptr< Server > & provide ()
 

Detailed Description

Provides a shared HTTP server instance built from configuration and controllers

Constructor & Destructor Documentation

◆ ServerProvider()

lintel::ServerProvider::ServerProvider ( const std::shared_ptr< Configuration > &  configuration,
const std::vector< std::shared_ptr< Controller > > &  controllers 
)
explicit

Member Function Documentation

◆ provide()

const std::shared_ptr< Server > & lintel::ServerProvider::provide ( )
Returns
the shared Server instance

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