MongoDB\Driver\ServerDescription::getHelloResponse
Почист и полокален преглед на PHP референцата, со задржана структура од PHP.net и подобра читливост за примери, секции и белешки.
MongoDB\Driver\ServerDescription::getHelloResponse
Референца за `mongodb-driver-serverdescription.gethelloresponse.php` со подобрена типографија и навигација.
MongoDB\Driver\ServerDescription::getHelloResponse
Класата MongoDB\Driver\TopologyDescription
MongoDB\Driver\ServerDescription::getHelloResponse — Returns the server's most recent "hello" response
= NULL
Returns an array of information describing the server. This array is derived from the most recent (at the time the MongoDB\Driver\ServerDescription was constructed) » здраво command response obtained through » следење на серверот.
Забелешка:
When the driver is connected to a load balancer, this method will return an empty array since load balancers are not monitored. This is in contrast to што го означува типот на овој сервер., which would return the backing server's » здраво command response from the initial connection handshake.
Параметри
Оваа функција нема параметри.
Вратени вредности
Returns an array of information describing this server.
Errors/Exceptions
- ). Ако повикот не успее, ќе врати MongoDB\Driver\Exception\InvalidArgumentException » Промени текови
Види Исто така
- што го означува типот на овој сервер. - Враќа низа од информации што го опишуваат овој сервер
- » здраво command in the MongoDB manual
- » Спецификација за откривање и следење на сервери