Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support WebSocket in HAR #113

Open
germanbisogno opened this issue Feb 18, 2024 · 3 comments
Open

Support WebSocket in HAR #113

germanbisogno opened this issue Feb 18, 2024 · 3 comments

Comments

@germanbisogno
Copy link

Do you have plans to include WebSockets in the result of harFromMessages?

Since chrome 76, it includes WebSocket messages in HAR exports.

Ref: https://developer.chrome.com/blog/new-in-devtools-76#websocket

Thanks,

Awesome project!

Germán

@soulgalore
Copy link
Member

Hi @germanbisogno thanks for the kind words! Do you have a Chrome trace with a websocket, I can have a look.

Thanks
Peter

@soulgalore
Copy link
Member

Or even better a URL with an example, then I can generate the trace myself.

@germanbisogno
Copy link
Author

hi @soulgalore , thanks for the quick response, you can setup a node express and play around ws by yourself, exporting the har file from devtools manually after sending some messages to your local server, for example as this page shows https://medium.com/@PubNub/node-js-websocket-programming-examples-f6b8e15f8f85.

Thanks,

Germán

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

No branches or pull requests

2 participants