
70 Brocade Virtual ADX OpenScript API Guide
53-1003243-01
Methods
6
Usage
A server load balancing action cannot be taken based on the content collected.
Input Parameters
None.
Return Values
The following table contains the return values.
Performance impact
Use of this function will have a significant impact to system performance.
Example
OS_HTTP_RESPONSE::content($value)
Sets the response content to the value specified in $value.
Context
This function called in http request context will have no effect.
Input Parameters
The following table contains the input values.
TABLE 72 Return Values
Name Type Description
string The value of the response content if present otherwise undefined.
TABLE 73 Input Values
Name Type Description
$value string A string representing the value
of the response content.
use OS_SLB;
use OS_HTTP_RESPONSE;
sub HTTP_RESPONSE{
OS_HTTP_RESPONSE::collect();
}
sub HTTP_RESPONSE_DATA {
my $content = OS_HTTP_RESPONSE::content;
OS_SLB::send_to_client;
}
Comentarios a estos manuales