Session::killClient

(No version information available, might only be in Git)

Session::killClientKill the client

Beschreibung

public mysql_xdevapi\Session::killClient ( integer $client_id ) : object

Kill the selected client and terminate the collection

Warnung

Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.

Parameter-Liste

client_id

A connection's client ID.

Rückgabewerte

Beispiele

Beispiel #1 mysql_xdevapi\Session::killClient() example

<?php
$session 
mysql_xdevapi\getSession("mysqlx://user:password@localhost");

$clientid $session->getClientId();

// ...

$session->killClient($clientid);