GithubHelp home page GithubHelp logo

Support for WebSockets about traefik HOT 10 CLOSED

traefik avatar traefik commented on May 12, 2024
Support for WebSockets

from traefik.

Comments (10)

emilevauge avatar emilevauge commented on May 12, 2024

Hi!
I will try in the next days to do this in a middeware using https://gist.github.com/sheenobu/5aad1b1c07e9ff52eefe :)

from traefik.

andyshinn avatar andyshinn commented on May 12, 2024

Cool, yea a middleware seems like the best place to do it. I saw that patch as well. And I'm sure you are also aware of https://github.com/gorilla/websocket. Not sure which might be easier to implement.

from traefik.

sheenobu avatar sheenobu commented on May 12, 2024

@emilevauge Let me know how it goes. I saw that this was mailgun/oxy based and wondered if it reacted to websockets in the same way.

from traefik.

gngeorgiev avatar gngeorgiev commented on May 12, 2024

Websocket support is what will would make me try this in favor of HAProxy, as a matter of fact this is why I did not try out vulcand.

from traefik.

emilevauge avatar emilevauge commented on May 12, 2024

If interested, I created a branch with websocket alpha support taken from https://gist.github.com/sheenobu/5aad1b1c07e9ff52eefe:
https://github.com/EmileVauge/traefik/tree/websockets-support

from traefik.

jpillora avatar jpillora commented on May 12, 2024

+1

from traefik.

dekobon avatar dekobon commented on May 12, 2024

+1

from traefik.

JonnyBGod avatar JonnyBGod commented on May 12, 2024

+1

Would like to propose also support for http/2 and server sent events.

from traefik.

tboerger avatar tboerger commented on May 12, 2024

If the websocket support gets integrated I really have to switch to traefik from vulcand :)

from traefik.

jpillora avatar jpillora commented on May 12, 2024

Nice work @emilevauge, I'll try swapping vulcan out for traefik tonight :)

from traefik.

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.