Package burp.api.montoya.proxy
Interface ProxyWebSocketInitialInterceptBinaryMessage
-
public interface ProxyWebSocketInitialInterceptBinaryMessageExtensions can implement this interface when returning a binary message fromProxyWebSocketHandler.handleBinaryMessageReceived(ByteArray, Direction).
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description InitialInterceptActionaction()static ProxyWebSocketInitialInterceptBinaryMessagedoNotInterceptBinaryMessage(ByteArray payload)This is a helper method to build a binary WebSocket message to continue within the Proxy without interception.static ProxyWebSocketInitialInterceptBinaryMessagedropBinaryMessage()This is a helper method to build a binary WebSocket message to be dropped.static ProxyWebSocketInitialInterceptBinaryMessageinterceptBinaryMessage(ByteArray payload)This is a helper method to build a binary WebSocket message to be intercepted within the Proxy.ByteArraypayload()
-
-
-
Method Detail
-
action
InitialInterceptAction action()
- Returns:
- The action associated with this message.
-
payload
ByteArray payload()
- Returns:
- The payload of this message.
-
interceptBinaryMessage
static ProxyWebSocketInitialInterceptBinaryMessage interceptBinaryMessage(ByteArray payload)
This is a helper method to build a binary WebSocket message to be intercepted within the Proxy.- Parameters:
payload- The binary message payload.- Returns:
- The message.
-
doNotInterceptBinaryMessage
static ProxyWebSocketInitialInterceptBinaryMessage doNotInterceptBinaryMessage(ByteArray payload)
This is a helper method to build a binary WebSocket message to continue within the Proxy without interception.- Parameters:
payload- The binary message payload.- Returns:
- The message.
-
dropBinaryMessage
static ProxyWebSocketInitialInterceptBinaryMessage dropBinaryMessage()
This is a helper method to build a binary WebSocket message to be dropped.- Returns:
- The message to be dropped.
-
-