# Introducing SocketRocket: A WebSocket library for Objective-C

DevFeed: [Introducing SocketRocket: A WebSocket library for Objective-C](<https://devfeed.tech/articles/introducing-socketrocket-a-websocket-library-for-objective-c-15714.md>)

Original publisher: [Read original article](<https://developer.squareup.com/blog/introducing-socketrocket-a-websocket-library-for-objective-c>)

Author: Square Engineering

Published: 2012-02-07T17:00:00Z

Content type: release

Language: en

Sources: [Square Corner](<https://devfeed.tech/sources/square-corner-blog-medium.md>)

Topics: [WebSocket](<https://devfeed.tech/topics/websocket.md>), [client library](<https://devfeed.tech/topics/client-library.md>), [Objective-C](<https://devfeed.tech/topics/objective-c.md>), [arc memory management](<https://devfeed.tech/topics/arc-memory-management.md>), [Google Chrome](<https://devfeed.tech/topics/google-chrome.md>)

Tags: [client](<https://devfeed.tech/tags/client.md>), [client-library](<https://devfeed.tech/tags/client-library.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [ios](<https://devfeed.tech/tags/ios.md>), [library](<https://devfeed.tech/tags/library.md>), [native](<https://devfeed.tech/tags/native.md>), [network-protocol](<https://devfeed.tech/tags/network-protocol.md>), [objective-c](<https://devfeed.tech/tags/objective-c.md>), [protocol](<https://devfeed.tech/tags/protocol.md>), [square](<https://devfeed.tech/tags/square.md>), [websocket](<https://devfeed.tech/tags/websocket.md>)

## AI overview

Square's SocketRocket is an Objective-C WebSocket client for iOS, created to connect to Chrome's remote debugging API after the team found no up-to-date client libraries. It conforms to RFC 6455, supports secure wss connections through CFStream/NSStream, runs on iOS 4.x, and has no external dependencies. The library uses ARC and Grand Central Dispatch. Its demos include an iOS client and server code; it also provides tooling for the Autobahn test suite and passes about 300 tests, with non-strict handling of two UTF-8 tests. The text notes that some HTTP proxies do not yet support WebSockets.

## Source excerpt

SocketRocket is a new WebSocket client library developed by Square's engineering team