RestSharp for WP7 supports https connection? - https

I've been using RestSharp and it has been really good. Now I have to user https connection and would like to use restsharp too. Does RestSharp for WP7 supports https connection? My server accepts https connection but RestSharp replied nothing when calling https connection.

Related

Cloudflare blocking websocket connection

I have a node js web app that has a websocket server. When I connect to it from the same domain, the websocket connects but when I try to connect from a different domain it does not work. Is there any cloudflare settings that could be blocking this?
Changed minimum TLS version from1.3 to 1 because websockets use lower TLS version

what are EIO=3&transport=websocket in websocket url

wss://www.mysite.ca/socket.io/?EIO=3&transport=websocket
This is how chrome webdevoloper tools shows the request url of a socket io.
I am trying to understand more about EIO=3&transport=websocket .
I have to invoke the url from an API tool
These are query parameters that the socket.io client sends to the socket.io server as part of the initial connection request.
EIO=3, I believe, is the version number of the engine.io sub-system in socket.io. If the server is not compatible with this version number, it will likely fail the attempt to connect.
transport=websocket says that socket.io wants to use the websocket protocol as the eventual transport. socket.io has several different transports it supports including web polling and a flash-based protocol.
To connect to socket.io server, you will need a full-fledged socket.io client. You can't make a socket.io connection by just sending a URL from a tool to the server. There's a lot more involved than that in establishing a working socket.io connection.

Xamarin messaging by Websockets SignalR

SignalR for Xamarin doesn't have way to work through Websockets.
I have a web service with messaging by SygnalR by websockets.
Can i receive message in Xamarin without implementing SignalR to Xamarin?
Is it important to have SignalR on Xamarin client side?
If you have implemented a SignalR hub in your sever, you can use SignalR Client nuget in Xamarin. The transport will be SSE (Server Sent Events) by default, but it works pretty well.
Implementing a websocket in the client just to connect to a SignalR server makes no sense at all, unless you really need to use WebSockets instead of SSE.
SignalR uses transports to connect to the server. The portable version of SignalR client does not support the webSockets transport since there is no portable version of WebSocket client available. This is fine since there are two more transports - longPolling and serverSentEvents that can be used to talk to the server.
You can't connect to the SignalR 2.x server with bare webSockets. There is a protocol that needs to be followed and if a client does not follow this protocol its requests will be rejected.
If you absolutely need to use websockets you can implement your own websockets transport by implementing the IClientTransport interface and pass it to the Start method. This is how the webSockets transport is supported on UWP. Here is all the code I needed to write.

How to tell an server that client supports SPDY protocol?

What is necessary to tell a server that a Webclient supports the SPDY protocol? On what level (TCP/IP, HTTP, ...) do I transmit this information?
When the client performs the SSL handshake the server needs to advertise spdy via the NPN extension. Here are a couple of links for more details:
http://dev.chromium.org/spdy/spdy-protocol/spdy-protocol-draft2#TOC-Server-Advertisement-of-SPDY-throug1
https://datatracker.ietf.org/doc/html/draft-agl-tls-nextprotoneg-00.html

https vs ssl- when to use what

Is https different from http with ssl? If so, when should one use https and when ssl?
HTTPS is a transfer protocol in web and it uses SSL in its underlying (Socket) layer. Its possible for HTTPS to use other technologies for achieving security for transferring HTTP traffic in the future.
SSL is a way of securing data transfer at socket layer. It could be used for other purposes (i.e FTPS).
Nope. HTTPS is HTTP over SSL.

Resources