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

  • 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 77
66 Brocade Virtual ADX OpenScript API Guide
53-1003243-01
Methods
6
Usage
Can be used to set the version.
Input Parameters
The following table contains the input values.
Return Values
None
Example
OS_HTTP_RESPONSE::header ($name)
Returns the value of the HTTP header specified by $name if present otherwise undefined.
Context
This function called in http request context will have no effect.
Usage
Can be used to retrieve the header value.
Input Parameters
The following table contains the input values.
TABLE 65 Input Values
Name Type Description
$val string An string representing the
version value.
TABLE 66 Input Values
Name Type Description
$name string An string representing the value
of HTTP header specified by
$name.
use OS_HTTP_RESPONSE;
sub HTTP_RESPONSE{
OS_HTTP_RESPONSE::version("1.1");
}
Zobrazit stránku 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 131 132

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

Žádné komentáře