Brocade Virtual ADX OpenScript API Guide (Supporting ADX v Instrukcja Użytkownika Strona 78

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 132
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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");
}
Przeglądanie stron 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 131 132

Komentarze do niniejszej Instrukcji

Brak uwag