Giter VIP home page Giter VIP logo

Comments (5)

lwthiker avatar lwthiker commented on May 17, 2024 1

Unfortunately it seems that curl doesn't implement websockets yet even though it's a highly requested feature: See here https://github.com/curl/curl/wiki/WebSockets

You can send the initial HTTP request with the 'Upgrade: websocket' header using curl but if you want to receive or send messages I think you are out of luck.

To make this work it should probably be a separate project, possibly modifying Node or another Websocket implementation to behave like curl-impersonate when opening TLS connections.

from curl-impersonate.

zer0def avatar zer0def commented on May 17, 2024

Don't mean to jump the gun too hard (it's been only ~two weeks since it was released), but I've noticed that curl 7.86.0 has shipped with experimental websocket support, so just wanted to check whether it's something on your radar?

from curl-impersonate.

lwthiker avatar lwthiker commented on May 17, 2024

I was aware of the work being done but wasn't aware that it already landed in a release. These are good news! I would definitely attempt to upgrade to 7.86. It would be interesting to see if the impersonation works for websockets easily.

from curl-impersonate.

OEvans117 avatar OEvans117 commented on May 17, 2024

Interested if you guys are thinking about implementing this :)

from curl-impersonate.

lwthiker avatar lwthiker commented on May 17, 2024

Now that curl has websocket support, I'm attempting to implement it as part of #160

from curl-impersonate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.