beautypg.com

Os_slb:: is_server_ssl, Usage, Input parameters – Brocade Virtual ADX OpenScript API Guide (Supporting ADX v03.1.00) User Manual

Page 107: Return values, Example, Context

background image

Brocade Virtual ADX OpenScript API Guide

95

53-1003243-01

Methods

7

Usage

Can be used to perform SSL specific operations.

Input Parameters

None.

Return Values

The following table contains the return values.

Example

OS_SLB:: is_server_ssl

Returns “1” of the current server connection is SSL.

Context

This function can be called from the events which are triggered by the traffic.

Usage

Can be used to perform SSL specific operations.

Input Parameters

None.

TABLE 117

Return Values

Name

Type

Description

integer

1 is returned if the client connection is SSL.
Otherwise 0 is returned.

use OS_SLB;

use OS_HTTP_REQUEST;

sub HTTP_REQUEST {

if(OS_SLB::is_client_ssl == 1)

{

print "The client connection is SSL\n";

}

}