mirror of
https://github.com/google/gtm-session-fetcher
synced 2026-11-09 22:25:56 +05:45
main
Add .clang-format file to the repository, now that clang-format is being used to format the Fetcher. (#249)
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
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.
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
GTMSessionFetcherServicefactory class - Fully independent of other projects
To get started please read USING.md for detailed information.
Languages
Objective-C
98.6%
Starlark
0.4%
Swift
0.3%
Ruby
0.3%
Python
0.2%
Other
0.2%