Spring Tips: @Controllers: WebSockets

Поділитися
Вставка
  • Опубліковано 4 січ 2025

КОМЕНТАРІ • 21

  • @anticom1337
    @anticom1337 3 роки тому +2

    How would I do authn & authz for websockets using that method?

  • @priyaanbu1441
    @priyaanbu1441 Рік тому +1

    Hi, A very big thanks to you. I am using your client side code to establish connection. connection has been made. i can see send details but
    subscription it is coming as id:sub-0; in log i can see the payload to send for subscribers. but client side not working even console.log is not printing. can you please help me on this

  • @zelalemgizachew5563
    @zelalemgizachew5563 8 місяців тому

    Can we get more advanced tutorial? Like adding the auth header to Stomp and not using the static files for testing, ws protocol gets bumpy when it comes to implementing it on different clients

  • @webera
    @webera 2 роки тому

    what is the difference between rsocket and spring webflux websockethandler? please.

  • @jordanweir7187
    @jordanweir7187 2 роки тому

    Very instructive thanks

  • @nguyencuong24597
    @nguyencuong24597 3 роки тому +1

    you need a better resolution recording, tryna enable 1080p but I find this video blur alot.

  • @СергейРябов-ю5н
    @СергейРябов-ю5н 3 роки тому +5

    Hi. How to calculate the available number of simultaneous connections ?

    • @ChrisB_Crisps
      @ChrisB_Crisps 3 роки тому

      I would expect with an integer or long that can handle simultaneous numbers

    • @americanpatriot6938
      @americanpatriot6938 3 роки тому

      at least one was is you create listeners for the connect/disconnect events, and keep track yourself

  • @codingwithgokhan
    @codingwithgokhan 3 роки тому +5

    What about scaling web sockets?

  • @alexandersmirnov4274
    @alexandersmirnov4274 3 роки тому

    is there reactive version for websocket broker?

  • @dattasaimogudampalli
    @dattasaimogudampalli 3 роки тому +2

    Is there any difference between @controller and @restcontroller

    • @iadrianrotaru
      @iadrianrotaru 3 роки тому

      Yes it is. One ends the response while other is not

    • @dattasaimogudampalli
      @dattasaimogudampalli 3 роки тому

      @@iadrianrotaru I didn't get you, can you elaborate?

    • @mariusdragan4640
      @mariusdragan4640 3 роки тому +9

      @RestController is just a @Controller and @ResponseBody. Basically indicating that its endpoints return jsons.

    • @ahmedjaad4940
      @ahmedjaad4940 3 місяці тому

      @@mariusdragan4640 the @RestController annotation binds the method return value to the response body, not necessarily jsons, it will will also depends what the method produces

  • @techyintelo9556
    @techyintelo9556 3 роки тому

    How to send binary with stomp ?

  • @mrrishiraj88
    @mrrishiraj88 3 роки тому

    Thanks

  • @stephaneg.8142
    @stephaneg.8142 3 роки тому +2

    Very interesting but don't forget that a lot of people watch this video on their phones. So please make the code more readable.

  • @hazara-index5214
    @hazara-index5214 8 місяців тому

    not tutorial just ads. not impressed sorry