ops::http::request class

A HTTP request.

Contents

Public functions

auto get_uri_param(size_t n) const -> std::string
Obtain the nth uri parameter from the list of matches.
template<typename T>
auto get_query_param(const std::string& name, const T& def) const -> T
todo

Function documentation

std::string ops::http::request::get_uri_param(size_t n) const

Obtain the nth uri parameter from the list of matches.

Parameters
n todo
Returns todo

template<typename T>
T ops::http::request::get_query_param(const std::string& name, const T& def) const

todo

Parameters
name todo
def todo
Returns todo