Brocade Virtual ADX OpenScript API Guide (Supporting ADX v Manuel d'utilisateur Page 58

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 132
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 57
46 Brocade Virtual ADX OpenScript API Guide
53-1003243-01
Methods
5
Return Values
None
Example
OS_HTTP_REQUEST::header($name)
Return the HTTP header value of the header specified by the value in $name.
Context
HTTP request event. If called in the HTTP response context, undefined will be returned.
Usage
Can be used to perform load-balancing based on the specified header.
Input Parameters
The following table contains the input values.
Return Values
The following table contains the return values.
TABLE 40 Input Values
Name Type Description
$name string A string representing the value
of the header name.
TABLE 41 Return Values
Name Type Description
string Value of the HTTP header specified by $name.
If not present, undefined is returned.
use OS_HTTP_REQUEST;
sub HTTP_REQUEST{
OS_HTTP_REQUEST::version("1.1");
}
Vue de la page 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 131 132

Commentaires sur ces manuels

Pas de commentaire