Skip to content Skip to sidebar Skip to footer

Is Websocket Is Dedicated For Browsers Only

I am trying to program a native Objective-C and Native Android application using 3rd Party libraries. I have already chosen the libraries and I am already progressing in it. One pe

Solution 1:

Websockets can be used by any client (read: "app"), as long as the client implements the Websocket protocol - no browser (or hybrid) required.

For example, SocketRocket is an Objective C library that helps you implement Websockets in iOS native apps.

There's a nice article here about implementing Websockets in native iOS and Android apps.

I think that implementing Websockets without Webkit is a better way to go. Creating a Hybrid app can impact performance. If you're using only one feature (websockets), Webkit might be too heavy.

The only question is - are the libraries you are implementing mature enough?

Good Luck!

Post a Comment for "Is Websocket Is Dedicated For Browsers Only"