GTMSessionFetcher 1.2.0

GTMSessionFetcher 1.2.0

TestsTested
LangLanguage Obj-CObjective C
License Apache-2.0
ReleasedLast Release Jul 2018

Maintained by Google, Thomas Van Lenten, Sergio Campama.


Downloads

Total11,104,864
Week0
Month0

Installs

Apps239,857
Pod Tries8,707
Test Targets13,064
Watch Apps18
powered by Segment

GitHub

Stars70
Watchers20
Forks55
Issues6
Contributors10
Pull Requests0

Code

Files16
LOCLines of Code 8,015


  • By
  • Google Inc.

Google Toolbox for Mac - Session Fetcher

Project site https://github.com/google/gtm-session-fetcher
Discussion group http://groups.google.com/group/google-toolbox-for-mac

Build Status

GTMSessionFetcher makes it easy for Cocoa applications to perform http operations. The fetcher is implemented as a wrapper on NSURLSession, so its behavior is asynchronous and uses operating-system settings on iOS and Mac OS X.

Features include:

  • Simple to build; only one source/header file pair is required
  • Simple to use: takes just two lines of code to fetch a request
  • Supports upload and download sessions
  • Flexible cookie storage
  • Automatic retry on errors, with exponential backoff
  • Support for generating multipart MIME upload streams
  • Easy, convenient logging of http requests and responses
  • Supports plug-in authentication such as with GTMAppAuth
  • Easily testable; self-mocking
  • Automatic rate limiting when created by the GTMSessionFetcherService factory class
  • Fully independent of other projects