Brocade Virtual ADX OpenScript API Guide (Supporting ADX v Manuale Utente Pagina 58

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 132
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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");
}
Vedere la pagina 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 131 132

Commenti su questo manuale

Nessun commento