18#include <kcenon/common/patterns/result.h>
72 const std::string& body);
Typed error codes for IHE XDS.b actors (ITI-41 and siblings)
Transport configuration for IHE XDS.b actors.
std::function< kcenon::common::Result< http_response >(const transport_request &)> transport_override
kcenon::common::Result< http_response > http_post(const http_options &opts, const std::string &content_type, const std::string &body)
POST body to opts.endpoint with the given Content-Type.
void set_http_transport_override(transport_override fn)
void clear_http_transport_override()
HTTP response captured from a POST call.
Optional test hook: replaces the real libcurl transport.
HTTPS transport options for the Document Source actor.