public protocol NetworkingProvider: NetworkingProviderConvertible
If you want to use a different networking library, implement this protocol and pass your implementation to
Extensions/Alamofire/Networking-Alamofire.swift for implementation examples.
Start the given request asynchronously, and return a
RequestNetworkingto control the request.
If the request is cancelled, call the response closure with an error.
This method will be called on the main thread. It is the implementation’s responsibility to ensure that network requests run asynchronously.
Implementations may call the
completionfrom a background thread.
WarningImplementations must guarante that they will call the
completionclosure exactly once.