Package org.zaproxy.clientapi.gen
Class Websocket
java.lang.Object
org.zaproxy.clientapi.gen.Websocket
This file was automatically generated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a text representation of an intercepted websockets messagechannels()Returns all of the registered web socket channelsReturns full details of the message specified by the channelId and messageIdReturns a list of all of the messages that meet the given criteria (all optional), where channelId is a channel identifier, start is the offset to start returning messages from (starting from 0), count is the number of messages to return (default no limit) and payloadPreviewLength is the maximum number bytes to return for the payload contentssendTextMessage(String channelid, String outgoing, String message) Sends the specified message on the channel specified by channelId, if outgoing is 'True' then the message will be sent to the server and if it is 'False' then it will be sent to the clientsetBreakTextMessage(String message, String outgoing) Sets the text message for an intercepted websockets message
-
Constructor Details
-
Websocket
-
-
Method Details
-
channels
Returns all of the registered web socket channelsThis component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
message
Returns full details of the message specified by the channelId and messageIdThis component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
messages
public ApiResponse messages(String channelid, String start, String count, String payloadpreviewlength) throws ClientApiException Returns a list of all of the messages that meet the given criteria (all optional), where channelId is a channel identifier, start is the offset to start returning messages from (starting from 0), count is the number of messages to return (default no limit) and payloadPreviewLength is the maximum number bytes to return for the payload contentsThis component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
breakTextMessage
Returns a text representation of an intercepted websockets messageThis component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
sendTextMessage
public ApiResponse sendTextMessage(String channelid, String outgoing, String message) throws ClientApiException Sends the specified message on the channel specified by channelId, if outgoing is 'True' then the message will be sent to the server and if it is 'False' then it will be sent to the clientThis component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
setBreakTextMessage
Sets the text message for an intercepted websockets messageThis component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-