CheckProtocol

CheckProtocol 1:

The method must be overridden if the protocol returned by the WebSocket server is to be checked. If the check fails, the value FALSE must be returned.

Syntax

METHOD CheckProtocol: BOOL
VAR_IN_OUT CONSTANT
    sProtocol       : STRING;
END_VAR

CheckProtocol 2: Return value

Name

Type

Description

CheckProtocol

BOOL

TRUE if the check of the protocol returned by the WebSocket server was successful. FALSE if the check was not successful.

CheckProtocol 3:/CheckProtocol 4: Inputs/Outputs

Name

Type

Description

sProtocol

STRING

The protocol to be checked.