Skip to main content

renew

Function renew 

Source
pub async fn renew(mapping: &PortMapping) -> Option<PortMapping>
Expand description

Re-request the same mapping before its lease expires. Returns the refreshed mapping, or None if the router declined this time (the caller should then re-run discovery and re-announce).