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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 132
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 111
100 Brocade Virtual ADX OpenScript API Guide
53-1003243-01
Methods
7
Input Parameters
The following table contains the input values.
Return Values
None
Example
OS _SLB:: reset_client
Description
Causes the system to reset a TCP connection.
Context
This function can be called from an HTTP request event or TCP client events.
Usage
Can be used to reset client connection instead of load balancing traffic.
Input Parameters
None.
Return Values
None.
TABLE 122 Input Values
Name Type Description
$data string The error page you want to send
(optional)
string The default string sent if one is
not specified by $data. I
use OS_SLB;
use OS_HTTP_REQUEST;
sub HTTP_REQUEST{
OS_SLB::reply("HTTP/1.1 403 Forbidden\r\nServer: HTTP Proxy/1.0\r\nConnection:
Close\r\nContent-Length: 0\r\n\r\n"");
}
Przeglądanie stron 111
1 2 ... 107 108 109 110 111 112 113 114 115 116 117 ... 131 132

Komentarze do niniejszej Instrukcji

Brak uwag