iOS client-server app: HTTP or TCP/IP?

后端 未结 5 458
栀梦
栀梦 2021-02-02 02:48

I am about to start designing/developing a client-server iOS app. I am leaning towards using HTTP requests to get/post data from/to a server, but want to make sure this is the r

5条回答
  •  旧时难觅i
    2021-02-02 03:18

    Actually, you might want to check out HTML5's WebSockets - they combine both the concept of configurable protocols over http/s while avoiding the bandwidth traditional Ajax httprequests demanded. Google it, it's worth your time, and it is the coming standard, given that both Google and Apple are supporting it in Safari and Chrome. By the time you're done with whatever you're approaching to start now, this will probably be reliably installed on every device out there.

提交回复
热议问题