PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::ihe::xds::detail::http_response Struct Reference

HTTP response captured from a POST call. More...

#include <http_client.h>

Collaboration diagram for kcenon::pacs::ihe::xds::detail::http_response:
Collaboration graph

Public Attributes

long status_code {0}
 
std::string content_type
 
std::string body
 

Detailed Description

HTTP response captured from a POST call.

content_type carries the response Content-Type header verbatim (including any boundary=... parameter for multipart/related bodies). Empty when the server omitted the header. MTOM response parsers should prefer this over sniffing the body when both are available.

Definition at line 35 of file http_client.h.

Member Data Documentation

◆ body

std::string kcenon::pacs::ihe::xds::detail::http_response::body

Definition at line 38 of file http_client.h.

◆ content_type

std::string kcenon::pacs::ihe::xds::detail::http_response::content_type

Definition at line 37 of file http_client.h.

◆ status_code

long kcenon::pacs::ihe::xds::detail::http_response::status_code {0}

Definition at line 36 of file http_client.h.

36{0};

The documentation for this struct was generated from the following file: