Package burp.api.montoya.websocket
Interface WebSocketBinaryMessage
-
public interface WebSocketBinaryMessageThis interface represents a binary WebSocket message.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description WebSocketMessageActionaction()static WebSocketBinaryMessagecontinueWithBinaryMessage(ByteArray payload)This is a helper method to build a binary WebSocket message to be processed.static WebSocketBinaryMessagedropBinaryMessage()This is a helper method to build a binary WebSocket message to be dropped.ByteArraypayload()
-
-
-
Method Detail
-
action
WebSocketMessageAction action()
- Returns:
- The action associated with this message.
-
payload
ByteArray payload()
- Returns:
- The payload of this message.
-
continueWithBinaryMessage
static WebSocketBinaryMessage continueWithBinaryMessage(ByteArray payload)
This is a helper method to build a binary WebSocket message to be processed.- Parameters:
payload- The binary message payload.- Returns:
- The message to be processed.
-
dropBinaryMessage
static WebSocketBinaryMessage dropBinaryMessage()
This is a helper method to build a binary WebSocket message to be dropped.- Returns:
- The message to be dropped.
-
-