Documentation on server result is inconsistent with reality #265

deanberris opened this Issue Jul 3, 2013 · 0 comments


None yet
1 participant

deanberris commented Jul 3, 2013

Next, the docs seem to suggest that to return a response "by hand" I
should do something like:

response << status(server::response::ok) << body("blah blah");

But it seems in practice I have to do:

response.status = server::response::ok;
response.content = "blah blah";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment