You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
1.1 KiB

6 years ago
  1. # Google Toolbox for Mac - Session Fetcher #
  2. **Project site** <https://github.com/google/gtm-session-fetcher><br>
  3. **Discussion group** <http://groups.google.com/group/google-toolbox-for-mac>
  4. [![Build Status](https://travis-ci.org/google/gtm-session-fetcher.svg?branch=master)](https://travis-ci.org/google/gtm-session-fetcher)
  5. `GTMSessionFetcher` makes it easy for Cocoa applications to perform http
  6. operations. The fetcher is implemented as a wrapper on `NSURLSession`, so its
  7. behavior is asynchronous and uses operating-system settings on iOS and Mac OS X.
  8. Features include:
  9. - Simple to build; only one source/header file pair is required
  10. - Simple to use: takes just two lines of code to fetch a request
  11. - Supports upload and download sessions
  12. - Flexible cookie storage
  13. - Automatic retry on errors, with exponential backoff
  14. - Support for generating multipart MIME upload streams
  15. - Easy, convenient logging of http requests and responses
  16. - Supports plug-in authentication such as with GTMAppAuth
  17. - Easily testable; self-mocking
  18. - Automatic rate limiting when created by the `GTMSessionFetcherService` factory class
  19. - Fully independent of other projects