Skip to content

Commit

Permalink
fix: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
acmacalister committed Aug 19, 2023
1 parent ca9b122 commit ac6c0fc
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ func didReceive(event: WebSocketEvent, client: WebSocket) {
case .error(let error):
isConnected = false
handleError(error)
case .peerClosed:
break
}
}
```
Expand Down Expand Up @@ -202,10 +204,10 @@ Check out [Get Started](http://cocoapods.org/) tab on [cocoapods.org](http://coc
To use Starscream in your project add the following 'Podfile' to your project

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
platform :ios, '11.0'
use_frameworks!

pod 'Starscream', '~> 4.0.4'
pod 'Starscream', '~> 4.0.6'

Then run:

Expand All @@ -227,7 +229,7 @@ $ brew install carthage
To integrate Starscream into your Xcode project using Carthage, specify it in your `Cartfile`:

```
github "daltoniam/Starscream" >= 4.0.4
github "daltoniam/Starscream" >= 4.0.6
```

### Accio
Expand All @@ -237,7 +239,7 @@ Check out the [Accio](https://github.com/JamitLabs/Accio) docs on how to add a i
Add the following to your Package.swift:

```swift
.package(url: "https://github.com/daltoniam/Starscream.git", .upToNextMajor(from: "4.0.4")),
.package(url: "https://github.com/daltoniam/Starscream.git", .upToNextMajor(from: "4.0.6")),
```

Next, add `Starscream` to your App targets dependencies like so:
Expand Down Expand Up @@ -290,6 +292,9 @@ If you are running this in an OSX app or on a physical iOS device you will need
## TODOs

- [ ] Proxy support
- [ ] Thread safe implementation
- [ ] Better testing/CI
- [ ] SSL Pinning/client auth examples

## License

Expand Down

0 comments on commit ac6c0fc

Please sign in to comment.