Make underlying transport pluggable
kylebrowning opened this issue · 1 comments
kylebrowning commented
Wed like to make the transport layer pluggable so that users can choose to implement their own transporting layer they can do so.
Some initial thoughts
- Create a APNSwiftCore that only has the core types and a protocol for the underlying HTTP transport
- Create APNSwiftAHC that provides an implementation of the HTTP transport with the async-http-client
- Create APNSwiftURLSession that provides an implementation on top of URLSession
kylebrowning commented
Fixed in #170