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

Page 116: Description, Context, Usage, Input parameters

Advertising
background image

104

Brocade Virtual ADX OpenScript API Guide

53-1003243-01

Methods

7

Return Values

None.

Example

OS _SLB:: send_to_server

Description

Causes the system send the collected payload to the server.

Context

This function can be called from an HTTP request event.

Usage

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

NOTE

Data sent out will be in chunked-encoding format.

Input Parameters

None

Return Values

None.

use OS_SLB;

use OS_TCP

sub TCP_SERVER_ESTABLISHED{

OS_TCP::collect;

}

sub TCP_SERVER_DATA {

OS_SLB::send_to_client;

}

Advertising