Skip to content
This repository has been archived by the owner on Jul 9, 2023. It is now read-only.

How to handle WebSocket request #925

Open
CosmoShang opened this issue Jul 27, 2022 · 0 comments
Open

How to handle WebSocket request #925

CosmoShang opened this issue Jul 27, 2022 · 0 comments

Comments

@CosmoShang
Copy link

I wrote a proxy in python for one of my previous projects.
The proxy filters and blocks a piece of websocket plaintext sent by the client to the server.
The proxy resends the previously intercepted plaintext to the server at the appropriate time(maybe 10 seconds later).
It looks like the client just sent a websocket data to the server.

But in the Titanium-web-proxy example, I only found the following two events.
(e.DataSent += WebSocket_DataSent;e.DataReceived += WebSocket_DataReceived;)

My questions are:
1 Can Titanium-web-proxy implement the functions I mentioned above?
2 If Titanium-web-proxy does not implement the above functions,Is there a sample implemented under C#?

Would love for any response!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant