Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

OCTClient

iRare Media edited this page Sep 22, 2013 · 2 revisions

Represents a single GitHub session.

Most of the methods on this class return a RACSignal representing a request made to the API. The returned signal will deliver its results on a background RACScheduler.

To avoid hitting the network for a result that won't be used, no request will be sent until the returned signal is subscribed to. To cancel an in-flight request, simply dispose of all subscriptions.

For more information about the behavior of requests, see -enqueueRequestWithMethod:path:parameters:resultClass: and -enqueueConditionalRequestWithMethod:path:parameters:notMatchingEtag:resultClass:, upon which all the other request methods are built.


Learn More about OCTClient

Clone this wiki locally