An HTTP response from the Docker Engine API.
More...
#include <testcontainers/docker/DockerClient.hpp>
|
| std::string | header (std::string_view name) const |
| | Case-insensitive header lookup; returns "" if absent.
|
| bool | ok () const noexcept |
An HTTP response from the Docker Engine API.
◆ header()
| std::string testcontainers::Response::header |
( |
std::string_view | name | ) |
const |
Case-insensitive header lookup; returns "" if absent.
◆ ok()
| bool testcontainers::Response::ok |
( |
| ) |
const |
|
inlinenoexcept |
◆ status_code
| int testcontainers::Response::status_code = 0 |
◆ reason
| std::string testcontainers::Response::reason |
◆ body
| std::string testcontainers::Response::body |
◆ headers
| std::vector<std::pair<std::string, std::string> > testcontainers::Response::headers |