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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 132
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 67
56 Brocade Virtual ADX OpenScript API Guide
53-1003243-01
Methods
5
Usage
Can be used to perform load-balancing based on the content length.
Input Parameters
None.
Return Values
The following table contains the return values.
Example
OS_HTTP_REQUEST::cookie ($name)
Returns the cookie value specified by $name if it is present otherwise it returns undefined.
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 cookie.
Input Parameters
The following table contains the input values.
TABLE 54 Return Values
Name Type Description
integer The length of the request
content
TABLE 55 Input Values
Name Type Description
$name string A string representing the cookie name.
use OS_HTTP_REQUEST;
sub HTTP_REQUEST{
my $content_length = OS_HTTP_REQUEST::content_length;
}
Vista de pagina 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 131 132

Comentarios a estos manuales

Sin comentarios