3 Matching Annotations
  1. Nov 2016
    1. The request() method returns a Cancellable, which has only one public function, cancel(), which you can use to cancel the request

      About MoyaProvider

    2. But don't forget to keep a reference for it in property. If it gets deallocated you'll see -999 "cancelled" error on response.

      About MoyaProvider

    1. Providers map Targets to Endpoints, then map Endpoints to actual network requests