How to integrate Socket.io with FastAPI?

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024

Комментарии • 10

  • @LuizJrDeveloper
    @LuizJrDeveloper 7 месяцев назад +1

    Your video helped me a lot to create a cool flow for the application with socketio.
    Thanks

    • @Byte_codes_Engineers
      @Byte_codes_Engineers 7 месяцев назад

      Hi , can you please share m out you did this because I am not able to communicate socketio with fastapi

    • @Byte_codes_Engineers
      @Byte_codes_Engineers 7 месяцев назад

      Please please help m out in this

    • @LuizJrDeveloper
      @LuizJrDeveloper 7 месяцев назад

      I'm going to take some time to make a working example.

  • @-Jakob-
    @-Jakob- Год назад +1

    if you install the package 'websockets' then you also have the websockets support (not only polling)

  • @gokulraj6633
    @gokulraj6633 Год назад

    thanks a lot

  • @xsdash
    @xsdash Год назад +2

    what is the font name or theme used for vscode editor ?

    • @jr.developer
      @jr.developer  Год назад

      Theme: Sublime Material Theme - Dark. You can get through this extension jprestidge.theme-material-theme on VS Code.
      Font: Operartor Mono. I think I got it from this repo - github.com/keyding/Operator-Mono
      Thank you for your comment.

    • @Byte_codes_Engineers
      @Byte_codes_Engineers 7 месяцев назад

      ​@@jr.developerhi can you please help me out with socket io and fastapi I am not be able communicate please please big request help m bro please

  • @CuriousMindYoutube
    @CuriousMindYoutube 3 месяца назад

    i am trying to mount at app.mount('/socketserver', sio_app) but it doesn't work error like RuntimeError: Expected ASGI message 'websocket.accept', 'websocket.close', or 'websocket.http.response.start' but got 'http.response.start'.
    But if i mount at app.mount('/', sio_app)
    it works why is that? but if a mount of root rest api no longer work