It's easy to use. Just construct an instance of Alamofire's
SessionManager and convert it into the adapter type.
import Yopuy import YopuyAlamofire let adapter = Alamofire.SessionManager.default.yopuyAdapter let service = Service(adapter: adapter) }
You can also manually construct an adapter if you already have an instance of the session manager.
let adapter = AlamofireAdapter(manager: manager) let service = Service(adapter: adapter)