|
RESTinio
|
Classes | |
| struct | attr_char_predicate_t |
| A preducate for symbol_producer_template that checks that a symbol is attr-char symbol from RCF5987. More... | |
| class | ext_token_producer_t |
| A producer for token that is an "extended parameter name" in sense of RCF6266 and RCF5987. More... | |
| struct | language_predicate_t |
| A preducate for symbol_producer_template that checks that a symbol is language symbol from RCF5646. More... | |
| struct | mime_charsetc_predicate_t |
| A preducate for symbol_producer_template that checks that a symbol is mime-charsetc symbol from RCF5987. More... | |
| class | regular_token_producer_t |
| A producer for token that is a "regular parameter name" in sense of RCF6266 and RCF5987. More... | |
Functions | |
| RESTINIO_NODISCARD auto | mime_charsetc_symbol_p () |
| A factory for producer that extracts mime-charsetc symbols. | |
| RESTINIO_NODISCARD auto | language_symbol_p () |
| A factory for producer that extracts language symbols. | |
| RESTINIO_NODISCARD auto | attr_char_symbol_p () |
| A factory for producer that extracts attr-char symbols. | |
| RESTINIO_NODISCARD auto | ext_parameter_value_p () |
| A producer for an "extended parameter value" in sense of RCF6266 and RCF5987. | |
|
inline |
A factory for producer that extracts attr-char symbols.
See: https://tools.ietf.org/html/rfc5987#section-3.2
Definition at line 259 of file content-disposition.hpp.
|
inline |
A producer for an "extended parameter value" in sense of RCF6266 and RCF5987.
This producer return std::string object.
It handles the following rules:
ext-value = mime-charset "'" [ language ] "'" value-chars
mime-charset = 1*mime-charsetc
mime-charsetc = ALPHA / DIGIT
/ "!" / "#" / "$" / "%" / "&"
/ "+" / "-" / "^" / "_" / "`"
/ "{" / "}" / "~"
language = 0*language-char
language-char = ALPHA / DIGIT / "-"
value-chars = *( pct-encoded / attr-char )
pct-encoded = "%" HEXDIG HEXDIG
attr-char = ALPHA / DIGIT
/ "!" / "#" / "$" / "&" / "+" / "-" / "."
/ "^" / "_" / "`" / "|" / "~"
Definition at line 299 of file content-disposition.hpp.
|
inline |
A factory for producer that extracts language symbols.
Definition at line 207 of file content-disposition.hpp.
|
inline |
A factory for producer that extracts mime-charsetc symbols.
See: https://tools.ietf.org/html/rfc5987#section-3.2
Definition at line 163 of file content-disposition.hpp.