P
P
Pavel Kirin2016-01-09 02:10:56
C++ / C#
Pavel Kirin, 2016-01-09 02:10:56

How to connect to wss using c#?


how to send Request URL:wss://ws.binaryws.com/websockets/v3?l=RU
Request Method:GET
Status Code:101 Switching Protocols using c#

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
VZVZ, 2016-01-09
@VZVZ

Normal HTTP request, if I'm not mistaken.
So if you can pass it, but not using C#, but somehow else, then track it with a sniffer (for example, Fiddler) and simulate it in C# using HttpWebRequest or the RestSharp library (it is somewhat simpler and more convenient)

E
Egor Tyuvaev, 2016-01-09
@CulHatsker

It looks like you need to use WebSockets in your task. Try using GitHub to find the required libraries. Sometimes you can find a ready-made bike and save a lot of time building your own. (KEP)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question