Git Product home page Git Product logo

Comments (7)

mmcArg avatar mmcArg commented on May 25, 2024 1

24hs max!!!!! you are my idol !!!!!! Thanks!!!!!

from arduinowebsockets.

adelin-mcbsoft avatar adelin-mcbsoft commented on May 25, 2024 1

Hey Gil (@gilmaimon), cool new feature, I was also looking for this!
I confirm it works (tested with v0.4.9).
(...and man, you are fast! 😄 ).

@mmcArg - make sure you're not behind a proxy server which does not forward the headers; may be the case. And also, this must be called BEFORE client.connect() .

Keep up the good work,
Many thanks Gil,

Best,
A.

from arduinowebsockets.

gilmaimon avatar gilmaimon commented on May 25, 2024 1

Hey Gil (@gilmaimon), cool new feature, I was also looking for this!
I confirm it works (tested with v0.4.9).
(...and man, you are fast! 😄 ).

@mmcArg - make sure you're not behind a proxy server which does not forward the headers; may be the case. And also, this must be called BEFORE client.connect() .

Keep up the good work,
Many thanks Gil,

Best,
A.

Awesome as always. Thanks Adelin!

Gil.

from arduinowebsockets.

gilmaimon avatar gilmaimon commented on May 25, 2024

Hi, thanks! I'm glad you like the library and find it useful.

It's not possible at the moment, but it won't be very difficult to add. Give me 24 hours (max) and it will be ready!

Best regards,
Gil.

from arduinowebsockets.

gilmaimon avatar gilmaimon commented on May 25, 2024

How about 4 hours max 😃

Thanks for the kind words, Iv'e added an addHeader method to WebsocketsClient. Just make sure you call it before you call connect.

Example:

client.addHeader("Authorization", "JWT [token]");

Wait for version 0.4.8 (it will be in the IDE soon, you can also get it as ZIP).

Thanks again for using the library, give it a star if you liked it so more users can notice it. Let me know that you have used the new version and that everything works fine for you.

Have an awesome weekend,
Gil.

from arduinowebsockets.

mmcArg avatar mmcArg commented on May 25, 2024

Hi Gil, thanks for your time. For some reason do not work. I have another example made with another library (Links2004), and works ok, but with your example Y can not obtain the websocket. I will make furter test to find the diference and tell you. Regards!!!!

from arduinowebsockets.

gilmaimon avatar gilmaimon commented on May 25, 2024

That's odd. Can you show me your code?

from arduinowebsockets.

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.