CometD is a scalable web event routing bus that allows you to write low-latency, server-side, event-driven web applications. Typical examples of such applications are stock trading applications, web chat applications, online games, and monitoring consoles.
First thing is to import the framework. See the Installation instructions on how to add the framework to your project.
import CometDClient
Check out Get Started tab on cocoapods.org.
To use CometDClient in your 'Podfile':
pod 'CometDClient', '~> 1.1.2'
Then run:
pod install
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift
compiler.
Once you have your Swift package set up, adding CometDClient as a dependency is as easy as adding it to the dependencies
value of your Package.swift
.
dependencies: [
.Package(url: "https://github.com/Insurlytech/CometDClient-iOS.git", majorVersion: 1)
]
- Implement Codable objects for BayeuxClient & CometdClientMessageResolver
CometDClient is licensed under the MIT License.