MongoDB\Driver\ServerDescription::getRoundTripTime
PHP function
Edit on GitHub ✎
(mongodb >=1.13.0)
Returns the server's round trip time in milliseconds
Description
MongoDB\Driver\ServerDescription::getRoundTripTime(): int|null
Returns the server's round trip time in milliseconds. This is the client's measurement of the duration of a hello command.
Parameters Parameters
Return Values
Returns the server's round trip time in milliseconds.