Brocade Virtual ADX OpenScript API Guide (Supporting ADX v Manual de usuario Pagina 58

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 132
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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");
}
Vista de pagina 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 131 132

Comentarios a estos manuales

Sin comentarios