Struct TimeoutConfig

Struct Documentation

struct TimeoutConfig

Public Members

std::chrono::seconds idle_ping = {15}

send a ping if we haven’t sent anything for this long

std::chrono::seconds server_timeout = {30}

tell the server to time out if it hasn’t received a message for this long; must be more than idle_ping

std::chrono::seconds ping_timeout = {5}

how long to wait for a ping before assuming the connection is dead