Moya文档目录--(翻译)

Examples(样例)

  • Basic usage
  • Use MultiTarget for multiple Targets using the same Provider
  • Setup for Assets downloading
  • Alamofire automatic validation

Reactive extensions(响应式扩展)

  • ReactiveCocoa
  • RxSwift

Endpoints customization(自定义"终点")

  • Optional request parameters
  • Use Array instead of Dictionary as JSON root container

Subclassing and wrapping (子类化Provider和包装Provider)

  • Wrapping the request -> result cycle into own adapter
  • Subclassing Provider and refreshing session automatically

Error handling (错误处理)

  • Handling different error types

Plugins (插件)

  • Creating a custom plugin
  • Creating an authorization plugin

你可能感兴趣的:(Moya文档目录--(翻译))