ZAP API UI

Component: websocket

Views

breakTextMessageReturns a text representation of an intercepted websockets message
channelsReturns all of the registered web socket channels
message (channelId* messageId* ) Returns full details of the message specified by the channelId and messageId
messages (channelId start count payloadPreviewLength ) 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 contents

Actions

sendTextMessage (channelId* outgoing* 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 client
setBreakTextMessage (message* outgoing* ) Sets the text message for an intercepted websockets message