Updated on 2024-04-25 GMT+08:00

Protocol: WSReadOnly

This system keyword is used to access a WebSocket server for read-only operations.

Parameter

Mandatory

Type

Description

Request Uri

Yes

String

WebSocket service address

Response Timeout

Yes

Long

Response timeout period

Header

Yes

String

Request header

Response Type

Yes

String

Response data type

WSReadOnly Response

Status: success

Parameter

Type

Description

Body

String

Value returned by the WSReadOnly API

WSReadOnly Response Example

{ 
    "Read data from*** at port *** successfully! response: this is a response message." 
 }

Default Checkpoint

Name

Expected Value

Result

Success

WSReadOnly Usage Example

Configure parameters to access the WebSocker service.