Fresh Beginning
  • Home
  • Speaking
  • Github
  • Buy Me A Coffee
  • Patreon
  • Reading
  • About Me
Subscribe

URLSessionWebSocketTask

A collection of 2 posts
web socket

Creating WebSocket server on iOS using NWConnection

In the last couple of blog posts, we saw how to write a client-side code to handle web socket connections using native and third-party support. In this post, I will go over creating a web socket server on iOS in Swift using newly introduced NWConnection in iOS 13. New Project
Jan 25, 2022 6 min read
webSocket

WebSockets on iOS using URLSessionWebSocketTask

iOS added support for WebSocket starting iOS 13 and they announced it in WWDC2019 [https://wwdc.io/share/wwdc19/712]. Before that, developers had to rely on third-party libraries such as Starscream [https://github.com/daltoniam/Starscream] or SwiftWebSocket [https://github.com/tidwall/SwiftWebSocket]. Now with native support, it all
Jan 23, 2022 5 min read
Fresh Beginning © 2023
Powered by Ghost