Skip to content

Demo client for http AND https #3013

Closed
Closed
@octopus-prime

Description

@octopus-prime

The demo client should have an easy to use method for sync-calls like

template <typename ResponseBody, typename RequestBody>
http::response<ResponseBody> execute(http::request<RequestBody> request);

The method looks at the scheme of the target url of the request.
If http then do http stuff.
If https then do https stuff.

Thanks :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    ExampleAn issue which concerns the examples

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions