Skip to content

Commit

Permalink
Remove starscream and use iOS 13+ URLSessionWebSocketTask natively
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartcamerondeakin committed Apr 11, 2024
1 parent 2a7eb25 commit af5d7ad
Show file tree
Hide file tree
Showing 5 changed files with 347 additions and 269 deletions.
5 changes: 1 addition & 4 deletions Example/Pods/Local Podspecs/SwiftStomp.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
// swift-tools-version:5.0
// swift-tools-version:5.3
import PackageDescription

let package = Package(
name: "SwiftStomp",
platforms: [
.iOS(.v10)
.iOS(.v13),
],
products: [
.library(name: "SwiftStomp", targets: ["SwiftStomp"])
],
dependencies: [
.package(url: "https://github.com/daltoniam/Starscream.git", .exact("4.0.6")),
.package(url: "https://github.com/ashleymills/Reachability.swift", .upToNextMinor(from: "5.0.0"))
],
targets: [
.target(
name: "SwiftStomp",
dependencies: ["Starscream",
"Reachability"],
dependencies: [
.product(name: "Reachability", package: "Reachability.swift"),
],
path: "SwiftStomp"
)
]
)

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SwiftStomp

## An elegent Stomp client for swift, Base on [Starscream](https://github.com/daltoniam/Starscream) websocket library.
## An elegent Stomp client for swift, based on iOS URLSessionWebSocketTask.

<!-- [![CI Status](https://img.shields.io/travis/Romixery/SwiftStomp.svg?style=flat)](https://travis-ci.org/Romixery/SwiftStomp) -->
[![Version](https://img.shields.io/cocoapods/v/SwiftStomp.svg?style=flat)](https://cocoapods.org/pods/SwiftStomp)
Expand Down
1 change: 0 additions & 1 deletion SwiftStomp.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,5 @@ Pod::Spec.new do |s|
# }

# s.public_header_files = 'Pod/Classes/**/*.h'
s.dependency 'Starscream', '~> 4.0.4'
s.dependency 'ReachabilitySwift', '~> 5.0.0'
end
Loading

0 comments on commit af5d7ad

Please sign in to comment.