ot::Srp::Client::SetKeyLeaseInterval() method
Sets the key lease interval used in SRP update requests. Changing the lease interval does not impact the accepted lease interval of already registered services/host-info. It only changes any future SRP update messages (i.e adding new services and/or refreshes of existing services).
Syntax
void SetKeyLeaseInterval(uint32_t aInterval); Arguments
aInterval
The key lease interval (in seconds). If zero, the default value `kDefaultKeyLease` would be used.
ot::Srp::Client::SetKeyLeaseInterval() calls 1 function:
![]()
ot::Srp::Client::SetKeyLeaseInterval()
ot::Srp::Client::SetKeyLeaseInterval() reads 1 variable and writes 1 variable:
![]()
ot::Srp::Client::SetKeyLeaseInterval()