CheckProtocol
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
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. |
/
Inputs/Outputs
Name | Type | Description |
---|---|---|
sProtocol | STRING | The protocol to be checked. |