Interface ProxyWebSocket
public interface ProxyWebSocket
ProxyWebSocket within Burp.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()This method will close the WebSocket.Register a handler which will perform actions when messages are sent or received by the WebSocket.voidsendBinaryMessage(ByteArray binaryMessage, Direction direction) This method allows an extension to send a binary message via the WebSocket to either the client or the server.voidsendTextMessage(String textMessage, Direction direction) This method allows an extension to send a text message via the WebSocket to either the client or the server.
-
Method Details
-
sendTextMessage
-
sendBinaryMessage
-
close
void close()This method will close the WebSocket. -
registerProxyMessageHandler
Register a handler which will perform actions when messages are sent or received by the WebSocket.- Parameters:
handler- An object created by the extension that implementsProxyMessageHandlerinterface.- Returns:
- The
Registrationfor the handler.
-