forked from octokit/octokit.objc
-
Notifications
You must be signed in to change notification settings - Fork 0
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