unilink  0.4.3
A simple C++ library for unified async communication
unilink::transport::detail::ReconnectLogicDecision Struct Reference

Represents the decision on whether to retry a connection attempt. More...

#include <reconnect_decider.hpp>

Public Attributes

bool should_retry {false}
 
std::optional< std::chrono::milliseconds > delay {std::nullopt}
 

Detailed Description

Represents the decision on whether to retry a connection attempt.

Definition at line 38 of file reconnect_decider.hpp.

Member Data Documentation

◆ delay

std::optional<std::chrono::milliseconds> unilink::transport::detail::ReconnectLogicDecision::delay {std::nullopt}

Definition at line 40 of file reconnect_decider.hpp.

◆ should_retry

bool unilink::transport::detail::ReconnectLogicDecision::should_retry {false}

Definition at line 39 of file reconnect_decider.hpp.


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