Template Struct combo¶
Defined in File forms.h
Inheritance Relationships¶
Base Types¶
private udho::forms::drivers::urlencoded_< RequestT::body_type::value_type::const_iterator >(Template Struct urlencoded_)private udho::forms::drivers::multipart_< RequestT::body_type::value_type::const_iterator >(Template Struct multipart_)
Struct Documentation¶
-
template<typename
RequestT>
structudho::forms::drivers::combo: private udho::forms::drivers::urlencoded_<RequestT::body_type::value_type::const_iterator>, private udho::forms::drivers::multipart_<RequestT::body_type::value_type::const_iterator>¶ Public Types
-
typedef urlencoded_<typename request_type::body_type::value_type::const_iterator>
urlencoded_type¶
-
typedef multipart_<typename request_type::body_type::value_type::const_iterator>
multipart_type¶
-
typedef request_type::body_type::value_type
body_type¶
Public Functions
-
combo(const request_type &request)¶
-
void
parse_urlencoded()¶ parse the beast request body as urlencoded form data
-
void
parse_multipart()¶ parse the beast request body as multipart form data
-
bool
is_urlencoded() const¶ check whether the submitted form is urlencoded
-
bool
is_multipart() const¶ check whether the submitted form is multipart
-
const urlencoded_type &
urlencoded() const
-
const multipart_type &
multipart() const return the multipart specific form accessor
-
bool
empty(const std::string name) const¶ checks whether the value for the field is empty
-
bool
exists(const std::string name) const¶ checks whether there exists any field with the name provided
-
typedef urlencoded_<typename request_type::body_type::value_type::const_iterator>