Package burp.api.montoya.proxy.websocket
Interface BinaryMessageToBeSentAction
public interface BinaryMessageToBeSentAction
Extensions can implement this interface when returning a binary message from
ProxyMessageHandler.handleBinaryMessageToBeSent(InterceptedBinaryMessage)
.-
Method Summary
Modifier and TypeMethodDescriptionaction()
static BinaryMessageToBeSentAction
continueWith
(ByteArray payload) Build a binary WebSocket message to continue through Burp.static BinaryMessageToBeSentAction
continueWith
(BinaryMessage message) Build a binary WebSocket message to continue through Burp.static BinaryMessageToBeSentAction
drop()
Build a binary WebSocket message to be dropped.payload()
-
Method Details
-
action
MessageToBeSentAction action()- Returns:
- The action associated with this message.
-
payload
ByteArray payload()- Returns:
- The payload of this message.
-
continueWith
Build a binary WebSocket message to continue through Burp.- Parameters:
payload
- The binary message payload.- Returns:
- The message.
-
continueWith
Build a binary WebSocket message to continue through Burp.- Parameters:
message
- The binary message.- Returns:
- The message.
-
drop
Build a binary WebSocket message to be dropped.- Returns:
- The message to be dropped.
-