PACS System
0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
http_options.h
Go to the documentation of this file.
1
// BSD 3-Clause License
2
// Copyright (c) 2021-2025, 🍀☀🌕🌥 🌊
3
// See the LICENSE file in the project root for full license information.
4
12
#pragma once
13
14
#include <chrono>
15
#include <string>
16
17
namespace
kcenon::pacs::ihe::xds
{
18
34
struct
http_options
{
35
std::string
endpoint
;
36
std::string
soap_action
{
37
"urn:ihe:iti:2007:RegisterDocumentSet-b"
};
38
39
std::chrono::milliseconds
connect_timeout
{std::chrono::seconds{10}};
40
std::chrono::milliseconds
request_timeout
{std::chrono::seconds{30}};
41
42
bool
verify_peer
{
true
};
43
bool
verify_host
{
true
};
44
std::string
ca_bundle_path
;
45
46
std::string
client_certificate_path
;
47
std::string
client_private_key_path
;
48
49
std::string
user_agent
{
"kcenon-pacs-xds/0.1"
};
50
};
51
52
}
// namespace kcenon::pacs::ihe::xds
kcenon::pacs::ihe::xds
Definition
document_consumer.h:50
kcenon::pacs::ihe::xds::http_options
HTTPS transport options for the Document Source actor.
Definition
http_options.h:34
kcenon::pacs::ihe::xds::http_options::verify_host
bool verify_host
Definition
http_options.h:43
kcenon::pacs::ihe::xds::http_options::verify_peer
bool verify_peer
Definition
http_options.h:42
kcenon::pacs::ihe::xds::http_options::client_private_key_path
std::string client_private_key_path
Definition
http_options.h:47
kcenon::pacs::ihe::xds::http_options::connect_timeout
std::chrono::milliseconds connect_timeout
Definition
http_options.h:39
kcenon::pacs::ihe::xds::http_options::soap_action
std::string soap_action
Definition
http_options.h:36
kcenon::pacs::ihe::xds::http_options::user_agent
std::string user_agent
Definition
http_options.h:49
kcenon::pacs::ihe::xds::http_options::request_timeout
std::chrono::milliseconds request_timeout
Definition
http_options.h:40
kcenon::pacs::ihe::xds::http_options::client_certificate_path
std::string client_certificate_path
Definition
http_options.h:46
kcenon::pacs::ihe::xds::http_options::endpoint
std::string endpoint
Definition
http_options.h:35
kcenon::pacs::ihe::xds::http_options::ca_bundle_path
std::string ca_bundle_path
Definition
http_options.h:44
include
kcenon
pacs
ihe
xds
http_options.h
Generated by
1.12.0