![]() This allows us to use this: ```cpp auto header = TRY_OR_RETURN_OOM(realm, Infrastructure::Header::from_string_pair(name, value)); ``` Instead of the somewhat unwieldly: ```cpp auto header = Infrastructure::Header { .name = TRY_OR_RETURN_OOM(realm, ByteBuffer::copy(name.bytes())), .value = TRY_OR_RETURN_OOM(realm, ByteBuffer::copy(value.bytes())), }; ``` |
||
---|---|---|
.. | ||
Bodies.cpp | ||
Bodies.h | ||
Headers.cpp | ||
Headers.h | ||
Methods.cpp | ||
Methods.h | ||
Requests.cpp | ||
Requests.h | ||
Responses.cpp | ||
Responses.h | ||
Statuses.cpp | ||
Statuses.h |