Objective-C 的 WebSockets 客户端(最好与 iOS 兼容) [英] WebSockets client for Objective-C (preferably iOS compatible)

查看:31
本文介绍了Objective-C 的 WebSockets 客户端(最好与 iOS 兼容)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现最接近的是 如何将 WebSockets 合并到一个Cocoa 应用程序,但答案仅指向一个过时的库.

Closest thing I've found is How to incorporate WebSockets into a Cocoa application, but the answers only pointed to an outdated library.

有谁知道兼容 iOS 4.x 的 WebSockets 库吗?

Does anyone know about a WebSockets library compatible with iOS 4.x?

我还阅读了关于 Pusherapp 的文章,而且,尽管服务质量最好,我还是希望使用我自己的 WebSockets 服务器.

I've also read about Pusherapp, and, as good as the service could be, I would prefer to use my own WebSockets server.

推荐答案

您可以查看 UnitT Web 套接字客户端.它旨在用于使用 Objective-C 的 iOS 应用程序.它适用于 ws &wss.

You can check out the UnitT Web Socket Client. It is intended for use in iOS apps using Objective-C. It works with both ws & wss.

我是作者,并且在我的一些项目中成功使用了它.如果您遇到任何麻烦,请告诉我,我会尽我所能提供帮助.

I am the author and have been using it in some of my projects with success. Let me know if you run into any trouble and I will do what I can to help.

这篇关于Objective-C 的 WebSockets 客户端(最好与 iOS 兼容)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆