WSWriteOnly
This system keyword is used to access a WebSocket server for write-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  | 
    
| 
       Request Type  | 
     
       Yes  | 
     
       String  | 
     
       Request data type  | 
    
| 
       Request Body  | 
     
       Yes  | 
     
       String  | 
     
       Request data  | 
    
WSWriteOnly Response
Status: success
| 
        Parameter  | 
      
        Type  | 
      
        Description  | 
     
|---|---|---|
| 
        Body  | 
      
        String  | 
      
        Value returned by the WSWriteOnly API  | 
     
WSWriteOnly Response Example
{ 
    "Write data to *** at port *** successfully. response: this is a response message." 
 }
 Default Checkpoint
| 
        Name  | 
      
        Expected Value  | 
     
|---|---|
| 
        Result  | 
      
        Success  | 
     
WSWriteOnly Usage Example
Configure parameters to access the WebSocker service.

Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot