Implementing URLSessionWebSocketTask

I'm interested in implementing URLSessionWebSocketTask and associated functionality on URLSession.

Looks like swift-corelibs-foundation URLSession leans on libcurl, and implementing WebSockets on top of libcurl is something that has been done before, so probably the bulk of the work is in making sure the API behaves consistently with Apple's Foundation.

Interested to hear if anyone here has looked at this before or has more insight, since this would be my first time writing anything in Swift.

Cheers.

2 Likes