testcontainers-cpp 0.2.0
Native C++20 Testcontainers over the Docker Engine API
Loading...
Searching...
No Matches
testcontainers::wait_for::Port Struct Reference

Wait until the mapped host port for port accepts a TCP connection. More...

#include <testcontainers/WaitFor.hpp>

Public Attributes

ContainerPort port
 container port to probe
std::chrono::milliseconds poll_interval {200}
 delay between probes

Detailed Description

Wait until the mapped host port for port accepts a TCP connection.

Member Data Documentation

◆ port

ContainerPort testcontainers::wait_for::Port::port

container port to probe

◆ poll_interval

std::chrono::milliseconds testcontainers::wait_for::Port::poll_interval {200}

delay between probes