Interface TextMessageToBeSentAction


public interface TextMessageToBeSentAction
Extensions can implement this interface when returning a text message from ProxyMessageHandler.handleTextMessageToBeSent(InterceptedTextMessage).
  • Method Details

    • action

      Returns:
      The action associated with this message.
    • payload

      String payload()
      Returns:
      The payload of this message.
    • continueWith

      static TextMessageToBeSentAction continueWith(String payload)
      Build a text WebSocket message to continue through Burp.
      Parameters:
      payload - The text message payload.
      Returns:
      The message.
    • continueWith

      static TextMessageToBeSentAction continueWith(TextMessage message)
      Build a text WebSocket message to continue through Burp.
      Parameters:
      message - The text message.
      Returns:
      The message.
    • drop

      Build a text WebSocket message to be dropped.
      Returns:
      The message to be dropped.