Documentation

Moya is about working at high levels of abstraction in your application. It accomplishes this with the following pipeline.

Pipeline


TargetsEndpointsProvidersAuthenticationReactiveSwiftRxSwiftThreadingPluginsTesting


You should not have to reference Alamofire directly. It’s an awesome library, but the point of Moya is that you don’t have to deal with details that are that low-level.

(If you need to use Alamofire, you can pass in a SessionManager instance to the MoyaProvider initializer.)

If there is something you want to change about the behaviour of Moya, there is probably a way to do it without modifying the library. Moya is designed to be super-flexible and accommodate the needs of every developer. It’s less of a framework of code and more of a framework of how to think about network requests.

Remember, if at any point you have a question, just open an issue and we’ll get you some help.