Fresh Beginning
  • Home
  • Portfolio
  • My Clothing Shop
  • Etsy Clothing Store
  • Buy Me A Coffee
  • Patreon
  • Speaking
  • Reading
  • About Me
  • Contact Me
Subscribe

URLSessionWebSocketTask

A collection of 2 posts
web socket

Creating a 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. Before that, developers had to rely on third-party libraries such as Starscream or SwiftWebSocket. Now with native support, it all becomes quite easy to add on without adding third-party overhead. Previously, I wrote about using WebSockets
Jan 23, 2022 5 min read
Fresh Beginning © 2025
Powered by Ghost