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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 132
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 57
46 Brocade Virtual ADX OpenScript API Guide
53-1003243-01
Methods
5
Return Values
None
Example
OS_HTTP_REQUEST::header($name)
Return the HTTP header value of the header specified by the value in $name.
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 specified header.
Input Parameters
The following table contains the input values.
Return Values
The following table contains the return values.
TABLE 40 Input Values
Name Type Description
$name string A string representing the value
of the header name.
TABLE 41 Return Values
Name Type Description
string Value of the HTTP header specified by $name.
If not present, undefined is returned.
use OS_HTTP_REQUEST;
sub HTTP_REQUEST{
OS_HTTP_REQUEST::version("1.1");
}
Przeglądanie stron 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 131 132

Komentarze do niniejszej Instrukcji

Brak uwag