<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.mongodb-driver-serverdescription.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'fr',
  ),
  'this' => 
  array (
    0 => 'mongodb-driver-serverdescription.gethelloresponse.php',
    1 => 'MongoDB\\Driver\\ServerDescription::getHelloResponse',
    2 => 'Renvoie la r&eacute;ponse &quot;hello&quot; la plus r&eacute;cente du serveur',
  ),
  'up' => 
  array (
    0 => 'class.mongodb-driver-serverdescription.php',
    1 => 'MongoDB\\Driver\\ServerDescription',
  ),
  'prev' => 
  array (
    0 => 'class.mongodb-driver-serverdescription.php',
    1 => 'MongoDB\\Driver\\ServerDescription',
  ),
  'next' => 
  array (
    0 => 'mongodb-driver-serverdescription.gethost.php',
    1 => 'MongoDB\\Driver\\ServerDescription::getHost',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/mongodb/mongodb/driver/serverdescription/gethelloresponse.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="mongodb-driver-serverdescription.gethelloresponse" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">MongoDB\Driver\ServerDescription::getHelloResponse</h1>
  <p class="verinfo">(mongodb &gt;=1.13.0)</p><p class="refpurpose"><span class="refname">MongoDB\Driver\ServerDescription::getHelloResponse</span> &mdash; <span class="dc-title">Renvoie la réponse &quot;hello&quot; la plus récente du serveur</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-mongodb-driver-serverdescription.gethelloresponse-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">public</span> <span class="methodname"><strong>MongoDB\Driver\ServerDescription::getHelloResponse</strong></span>(): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div>

  <p class="para rdfs-comment">
   Renvoie un tableau d&#039;informations décrivant le serveur. Ce tableau est dérivé de la réponse
   <a href="https://www.mongodb.com/docs/manual/reference/command/hello/" class="link external">&raquo;&nbsp;hello</a>
   la plus récente (au moment où la
   <span class="classname"><a href="class.mongodb-driver-serverdescription.php" class="classname">MongoDB\Driver\ServerDescription</a></span> a été construite) obtenue via
   <a href="https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-discovery-and-monitoring.md" class="link external">&raquo;&nbsp;la surveillance du serveur</a>.
  </p>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <p class="para">
    Lorsque le pilote est connecté à un équilibreur de charge, cette méthode renverra
    un tableau vide car les équilibreurs de charge ne sont pas surveillés. Cela contraste avec
    <span class="function"><a href="mongodb-driver-server.getinfo.php" class="function">MongoDB\Driver\Server::getInfo()</a></span>, qui renverrait la réponse du
    <a href="https://www.mongodb.com/docs/manual/reference/command/hello/" class="link external">&raquo;&nbsp;hello</a>
    de la commande de poignée de main de connexion initiale du serveur de base.
   </p>
  </p></blockquote>
 </div>


 <div class="refsect1 parameters" id="refsect1-mongodb-driver-serverdescription.gethelloresponse-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <p class="para">Cette fonction ne contient aucun paramètre.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-mongodb-driver-serverdescription.gethelloresponse-returnvalues">
  <h3 class="title">Valeurs de retour</h3>
  <p class="para">
   Renvoie un tableau d&#039;informations décrivant ce serveur.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-mongodb-driver-serverdescription.gethelloresponse-errors">
  <h3 class="title">Erreurs / Exceptions</h3>
  <ul class="simplelist">
   <li>Lance une exception <span class="classname"><strong class="classname">MongoDB\Driver\InvalidArgumentException</strong></span> lors d'une erreur survenue pendant l'analyse d'un argument.</li>
  </ul>
 </div>


 <div class="refsect1 seealso" id="refsect1-mongodb-driver-serverdescription.gethelloresponse-seealso">
  <h3 class="title">Voir aussi</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="mongodb-driver-server.getinfo.php" class="function" rel="rdfs-seeAlso">MongoDB\Driver\Server::getInfo()</a> - Retourne un tableau d'informations d&eacute;crivant ce serveur</span></li>
   <li><a href="https://www.mongodb.com/docs/manual/reference/command/hello/" class="link external">&raquo;&nbsp;hello</a> commande dans le manuel MongoDB</li>
   <li><a href="https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-discovery-and-monitoring.md" class="link external">&raquo;&nbsp;Découverte et surveillance des serveurs</a></li>
  </ul>
 </div>


</div><?php manual_footer($setup); ?>