message::version is a member function (API Change):

fix #778

* The version data member is replaced with accessor
  member functions.

Actions Required:

* Call member function message::version instead of accessing
  the version member at call sites.
This commit is contained in:
Vinnie Falco
2017-09-12 17:13:02 -07:00
parent 54fe7cacf7
commit 38e28966ea
33 changed files with 218 additions and 178 deletions
@@ -66,7 +66,7 @@ public:
char const* target)
{
// Set up an HTTP GET request message
req_.version = 11;
req_.version(11);
req_.method(http::verb::get);
req_.target(target);
req_.set(http::field::host, host);