|
PACS System 0.1.0
PACS DICOM system library
|
libcurl HTTPS client with RAII over CURL* and curl_slist*. More...
#include "http_client.h"#include <curl/curl.h>#include <cstddef>#include <memory>#include <mutex>#include <string>#include <string_view>#include <utility>
Go to the source code of this file.
Namespaces | |
| namespace | kcenon |
| namespace | kcenon::pacs |
| namespace | kcenon::pacs::ihe |
| namespace | kcenon::pacs::ihe::xds |
| namespace | kcenon::pacs::ihe::xds::detail |
Functions | |
| void | kcenon::pacs::ihe::xds::detail::set_http_transport_override (transport_override fn) |
| void | kcenon::pacs::ihe::xds::detail::clear_http_transport_override () |
| kcenon::common::Result< http_response > | kcenon::pacs::ihe::xds::detail::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. | |
libcurl HTTPS client with RAII over CURL* and curl_slist*.
Definition in file http_client.cpp.
| std::string buffer |
Definition at line 56 of file http_client.cpp.
Referenced by kcenon::pacs::network::pdu_buffer_pool::acquire_buffer(), kcenon::pacs::web::auth::base64url_decode(), kcenon::pacs::encoding::explicit_vr_big_endian_codec::encode(), kcenon::pacs::encoding::explicit_vr_codec::encode(), kcenon::pacs::encoding::implicit_vr_codec::encode(), kcenon::pacs::network::pdu_encoder::encode_abort(), kcenon::pacs::network::pdu_encoder::encode_application_context(), kcenon::pacs::network::pdu_encoder::encode_associate_ac(), kcenon::pacs::network::pdu_encoder::encode_associate_header(), kcenon::pacs::network::pdu_encoder::encode_associate_rj(), kcenon::pacs::network::pdu_encoder::encode_associate_rq(), kcenon::pacs::encoding::explicit_vr_big_endian_codec::encode_element(), kcenon::pacs::encoding::explicit_vr_codec::encode_element(), kcenon::pacs::encoding::implicit_vr_codec::encode_element(), kcenon::pacs::network::pdu_encoder::encode_p_data_tf(), kcenon::pacs::network::pdu_encoder::encode_presentation_context_ac(), kcenon::pacs::network::pdu_encoder::encode_presentation_context_rq(), kcenon::pacs::network::pdu_encoder::encode_release_rp(), kcenon::pacs::network::pdu_encoder::encode_release_rq(), kcenon::pacs::encoding::explicit_vr_big_endian_codec::encode_sequence(), kcenon::pacs::encoding::explicit_vr_codec::encode_sequence(), kcenon::pacs::encoding::implicit_vr_codec::encode_sequence(), kcenon::pacs::encoding::explicit_vr_big_endian_codec::encode_sequence_item(), kcenon::pacs::encoding::explicit_vr_codec::encode_sequence_item(), kcenon::pacs::encoding::implicit_vr_codec::encode_sequence_item(), kcenon::pacs::network::pdu_encoder::encode_user_information(), kcenon::pacs::web::thumbnail_service::generate_thumbnail(), kcenon::pacs::samples::config_loader::load(), kcenon::pacs::network::make_pooled_pdu_buffer(), kcenon::pacs::integration::dicom_session::parse_pdu_header(), kcenon::pacs::workflow::auto_prefetch_service::query_prior_studies(), http_client::send_request(), kcenon::pacs::network::pdu_encoder::update_pdu_length(), kcenon::pacs::network::pdu_encoder::write_ae_title(), kcenon::pacs::encoding::write_be16(), kcenon::pacs::encoding::write_be32(), kcenon::pacs::encoding::write_be64(), kcenon::pacs::network::pdu_encoder::write_uid(), kcenon::pacs::network::pdu_encoder::write_uint16_be(), and kcenon::pacs::network::pdu_encoder::write_uint32_be().
| std::string content_type |
Definition at line 57 of file http_client.cpp.
Referenced by kcenon::pacs::web::dicomweb::multipart_builder::add_part(), kcenon::pacs::web::dicomweb::multipart_builder::add_part_with_location(), kcenon::pacs::web::dicomweb::multipart_parser::extract_boundary(), kcenon::pacs::web::dicomweb::multipart_parser::extract_type(), kcenon::pacs::ihe::xds::detail::http_post(), kcenon::pacs::web::wado_uri::is_supported_content_type(), kcenon::pacs::web::dicomweb::multipart_parser::parse(), kcenon::pacs::web::wado_uri::parse_wado_uri_params(), http_client::post(), kcenon::pacs::web::endpoints::register_dicomweb_endpoints_impl(), and kcenon::pacs::web::endpoints::register_system_endpoints_impl().
| bool oversize {false} |
Definition at line 58 of file http_client.cpp.