Brocade Virtual ADX OpenScript API Guide (Supporting ADX v Uživatelský manuál Strana 79

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 132
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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");
}
Zobrazit stránku 78
1 2 ... 74 75 76 77 78 79 80 81 82 83 84 ... 131 132

Komentáře k této Příručce

Žádné komentáře