N
N
NyakoTa2020-06-21 13:41:51
Spring
NyakoTa, 2020-06-21 13:41:51

How to connect .net application to SpringBoot WebSocket?

Good day.
Need help with connecting a client application written in Xamarin to a server written in Java + SpringBoot.
The server uses Stomp-websocket.
From javascript-a, such a connection is quite successful:

var sock = new SockJS("http://192.168.1.2:80/files-list");
var client = Stomp.over(this.sock);

I need to connect to this server through a client for mobile devices written in Xamarin, I have been struggling with this task for several days, but I have not gone further than connecting the SockJS.NET library.
I really need help, thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Yudakov, 2020-06-21
@NyakoTa

You have to write a client. The eyes are afraid, the hands are doing:
https://tools.ietf.org/html/rfc6455
Clearly written, with examples.
There are many features in the standard, but in practice the implementation of all of them is unlikely to be required.
PS There are a couple of crafts on this subject on Github, but the quality is terrible.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question