Owns a socket bound to a port on an IPv4 or IPv6 loopback address. Keep the reservation alive until the consumer has duplicated the descriptor.
Definition in file port_reservation.hpp.
Go to the source code of this file.
#include <chrono>#include <cstdint>#include <optional>#include <userver/fs/blocking/file_descriptor.hpp>Classes | |
| struct | utest::PortReservationOptions |
| Socket settings for a port reservation. More... | |
| class | utest::PortReservation |
| Owns a socket bound to a port on an IPv4 or IPv6 loopback address. Keep the reservation alive until the consumer has duplicated the descriptor. More... | |
Namespaces | |
| namespace | utest |
| Mocks and test helpers. | |