beautypg.com

Os _slb:: send_to_client, Input parameters, Return values – Brocade Virtual ADX OpenScript API Guide (Supporting ADX v03.1.00) User Manual

Page 115: Example, Description, Context, Usage

background image

Brocade Virtual ADX OpenScript API Guide

103

53-1003243-01

Methods

7

Input Parameters

The following table contains the input values.

NOTE

If no input is included, the system will perform Layer-4 load balancing.

Return Values

None.

Example

OS _SLB:: send_to_client

Description

Causes the system send the collected payload to the client.

Context

This function can be called from an HTTP response event or TCP client events.

Usage

This function can be used to send the payload data to the client.

NOTE

Data sent out will be in chunked-encoding format.

Input Parameters

None

TABLE 124

Input Values

Name

Type

Description

$server

string

Server name.

Integer

Values of 1 to 1024 for group ID
and 1025 and above for real
server ID

use OS_SLB;

use OS_HTTP_REQUEST;

sub HTTP_REQUEST{

OS_SLB::forward(3);

}