aboutsummaryrefslogtreecommitdiff
path: root/examples/05_command_framework
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-08-04 21:30:08 -0700
committerZeyla Hellyer <[email protected]>2018-08-04 21:30:08 -0700
commita0b0dd226f9ad2476729fa79dbc680bd08aa44b3 (patch)
treeac4b45b1c629c8149e74dfdf762f1543cefb9321 /examples/05_command_framework
parentMaintain a single, re-used HTTP client (diff)
downloadserenity-a0b0dd226f9ad2476729fa79dbc680bd08aa44b3.tar.xz
serenity-a0b0dd226f9ad2476729fa79dbc680bd08aa44b3.zip
Redo how requests are formed in HTTP module
Instead of passing around a function that builds an HTTP client request builder, pass around a struct that contains the necessary information _to_ build that request builder. Additionally, instead of using a macro to generate requests, just call a request function. This saves some required code expansion and is just easier to read and maintain.
Diffstat (limited to 'examples/05_command_framework')
0 files changed, 0 insertions, 0 deletions