RESTinio 0.4.9 Released!

2019.05.14

Several serious errors reported by our users have been fixed.

We also changed the interface of http_header_fields_t class:

  • old methods get_field(field_name, defaut_value) and get_field(field_id, default_value) are deprecated now. They will be removed in some future version of RESTinio. New methods get_field_or(field_name, default_value) and get_field_or(field_id, default_value) should be used instead;
  • new noexcept-methods try_get_field(field_name) and try_get_field(field_id). They do not throw but return nullptr if the field is not found;
  • new methods value_of(field_name) and value_of(field_id) that return string_view_t instead of const std::string&. If the field is not found an exception is thrown;
  • new noexcept-methods opt_value_of(field_name) and opt_value_of(field_id) that return optional_t<string_view_t>.

RESTinio is hosted on bitbucket (github mirror).

Archive is available in download section.

Documentation with helpful information is here.

Doxygen documentation is also available: RESTinio-0.4 API Reference.

If you miss something in RESTinio and want to see some new features let us know via info@stiffstream.com.