Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
Sonde::Bridge::RetryPolicy Struct Reference

How long to keep retrying a failed connection, and whether to survive a disconnection. More...

#include <bridge.h>

Public Attributes

bool retry = false
 Whether to retry at all.
int seconds = 0
 Give up after this long; 0 means never.
bool reconnect = false
 Whether to reconnect after the server closes the connection.
int holdSeconds = kDefaultHoldSeconds
 With reconnect: how long to hold requests while.

Detailed Description

How long to keep retrying a failed connection, and whether to survive a disconnection.

Member Data Documentation

◆ holdSeconds

int Sonde::Bridge::RetryPolicy::holdSeconds = kDefaultHoldSeconds

With reconnect: how long to hold requests while.

the server is away.


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