26#include "codec/codec.hpp"
28#include "rest/form.hpp"
29#include "rest/paramConverter.hpp"
74 template<anch::rest::ParameterValue T>
86 template<anch::rest::ParameterValue T>
98 template<anch::rest::ParameterValue T>
160 template<anch::rest::PathParameter T>
253#include "rest/impl/formMapper.hpp"
Side
Definition codec.hpp:48
AnCH REST library namespace.
Definition auth.hpp:29
void addFormField(anch::rest::Form &form, std::string_view name, const T &value)
void addJsonFormField(anch::rest::Form &form, std::string_view name, const T &value, anch::codec::Side side)
anch::rest::Part requiredFormFile(const anch::rest::Form &form, std::string_view name)
std::vector< anch::rest::Part > formFiles(const anch::rest::Form &form, std::string_view name)
void addFormFile(anch::rest::Form &form, std::string_view name, const anch::rest::Part &part)
std::vector< T > formFields(const anch::rest::Form &form, std::string_view name)
std::optional< anch::rest::Part > formFile(const anch::rest::Form &form, std::string_view name)
void checkFormConstraints(const T &value, anch::codec::Side side)
T requiredJsonFormField(const anch::rest::Form &form, std::string_view name, anch::codec::Side side)
std::optional< T > jsonFormField(const anch::rest::Form &form, std::string_view name, anch::codec::Side side)