Vinnie Falco
8bf46ffa05
Add file_body
2017-07-20 08:15:30 -07:00
Vinnie Falco
09df24ec62
Refactor file_body for best practices
2017-07-20 08:15:29 -07:00
Vinnie Falco
c149321013
Return std::size_t from Body::writer::put (API Change)
...
`put` returns the number of bytes actually transferred
from the input buffers.
Actions Required:
* Return the number of bytes actually transferred from the
input buffers in user defined `Body::writer::put` functions.
2017-07-20 08:15:29 -07:00
octopus-prime
b5b1295d0c
Add const_body, mutable_body to examples
2017-07-20 08:15:29 -07:00
Vinnie Falco
bb1dd72638
Group common example headers
2017-07-20 08:15:29 -07:00
Vinnie Falco
56a561da9a
message::prepare_payload replaces message::prepare (API Change):
...
Actions Required:
* Change calls to msg.prepare to msg.prepare_payload. For messages
with a user-defined Fields, provide the function prepare_payload_impl
in the fields type according to the Fields requirements.
2017-07-20 08:15:27 -07:00
Vinnie Falco
8f627b0748
Fix shadowing warnings
...
fix #510
2017-07-20 08:15:27 -07:00
Vinnie Falco
fd9a13b11f
New server-framework, full featured server example:
...
A new server framework is introduced, allowing users to
quickly get off the ground. Example servers are refactored
to use the common framework.
2017-07-20 08:15:26 -07:00
Vinnie Falco
eb7e971c7a
Renamed to basic_fields::set (API Change):
...
* `replace` is renamed to `set`
Actions Required:
* Rename calls to `basic_fields::replace` to `basic_fields::set`
2017-07-20 08:15:26 -07:00
Vinnie Falco
510092d34b
Reorganize examples:
...
* The examples/ directory is renamed to example/
* Each program is in its own directory with its own build scripts
2017-07-20 08:15:26 -07:00