Template Struct ostreamed_helper

Struct Documentation

template<typename CacheT>
struct udho::servers::ostreamed::ostreamed_helper

Public Types

typedef server<udho::bridge<udho::configuration_type>, udho::loggers::ostream, CacheT> server_type
typedef server_type::logger_type logger_type
typedef server_type::cache_type cache_type
typedef server_type::attachment_type attachment_type
typedef server_type::http_request_type request_type

Public Functions

ostreamed_helper(boost::asio::io_service &io, udho::loggers::ostream::stream_type &stream)
template<typename RouterT>
void serve(RouterT &&router, int port = 9198)
template<typename FeatureT>
auto operator+=(const FeatureT &feature)
server_type::configuration_type &config()
const server_type::configuration_type &config() const
template<typename ConfigKeyT>
auto operator[](const ConfigKeyT &k)
template<typename ConfigKeyT>
auto operator[](const ConfigKeyT &k) const

Public Members

udho::loggers::ostream _logger
server_type _server