PHP 8.4.0 RC4 available for testing

The MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent class

(mongodb >=1.13.0)

Introduction

The MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent class encapsulates information about a started server heartbeat (i.e. » hello command issued through » server monitoring).

Class synopsis

final class MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent {
/* Methods */
final public getHost(): string
final public getPort(): int
final public isAwaited(): bool
}

Table of Contents

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top