Common message definitions for the push server and client implementations
Sources/PushAPI | ||
.gitignore | ||
Package.swift | ||
README.md |
Push-API
This package contains message definitions, routes and information specifying the interface to a Push-Server. The package is used to implement both the client and the server using common definitions to ensure compatibility.
The package depends on APNSwift, which provides the definitions for push message contents and is used by the server to connect to the Apple Push Notification Service (APNs).
Usage
Add the package dependency in your Package.swift
file:
dependencies: [
.package(url: "https://christophhagen.de/git/ch/Push-API.git", from: "0.4.0"),
],
Then import the module in your code:
import PushAPI