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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 132
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 78
Brocade Virtual ADX OpenScript API Guide 67
53-1003243-01
Methods
6
Return Values
The following table contains the return values.
Example
OS_HTTP_RESPONSE::header ($name, $value)
Sets the HTTP header value specified in $name.
Context
This function called in http request context will have no effect.
Usage
Used to rewrite the header value.
Input Parameters
The following table contains the input values.
Return Values
None
TABLE 67 Return Values
Name Type Description
string The value of the HTTP header
specified by $name if present
otherwise undefined.
TABLE 68 Input Values
Name Type Description
$name string A string representing the HTTP
header name.
$value string A string representing the HTTP
header value.
use OS_HTTP_RESPONSE;
sub HTTP_RESPONSE{
my $cookie = OS_HTTP_RESPONSE::header("Set-Cookie");
}
Vista de pagina 78
1 2 ... 74 75 76 77 78 79 80 81 82 83 84 ... 131 132

Comentarios a estos manuales

Sin comentarios