Skip to main content

record_success

Method
This is a method of the ApiStats class in the telemetry module.
Record a successful call.

Signature

def record_success(&mut self, duration: Duration, status_code: u16) -> ()

Parameters

duration
Duration
required
No description available.
status_code
u16
required
No description available.

Returns

Returns
()
The result of the operation.