I have socket service on .Net 6.0 with SignalR.
I want to determine the advantages and disadvantages of sending messages from the client to the service. Should I use Invoke (SignalR) or RESTful put/post requests.
It seems that Invoke will be faster if the connection is already established, but Rest is probably more "light". Maybe I'm not right)
What are the pros and cons of SignalR Invoke? And what are the pros and cons of Post / Put? Which is preferable to use when sending messages from client to service?