No description
  • Objective-C 98.8%
  • Starlark 0.4%
  • Swift 0.3%
  • Ruby 0.3%
  • Python 0.2%
Find a file
2026-06-30 11:47:54 -04:00
.github/workflows Add helper to retry for some errors to try and deflake. 2026-06-30 11:47:54 -04:00
Sources Fix responseHeaders and statusCode availability on interruption / offset query finalization. (#550) 2026-03-31 14:43:22 -04:00
SwiftPMTests Add some tests to ensure imports are working as expected for SwiftPM. 2022-04-26 16:48:07 -04:00
TestApps Bump the min versions to match what Firebase will do for version 12. 2025-07-07 12:08:21 -04:00
UnitTests Fix responseHeaders and statusCode availability on interruption / offset query finalization. (#550) 2026-03-31 14:43:22 -04:00
.bazelversion Update all non-major dependencies 2026-06-07 22:13:21 -04:00
.clang-format Add .clang-format file to the repository, now that clang-format is being used to format the Fetcher. (#249) 2021-08-05 10:39:57 -07:00
.git-blame-ignore-revs Skip the format only commit in blame. 2025-04-08 10:10:34 -04:00
.gitignore Introduce basic Bazel build support for gtm-session-fetcher (#447) 2025-04-21 12:45:08 -04:00
BUILD.bazel use canonical names from the rules_swift, rules_apple, and apple_support docs 2026-02-06 12:00:30 -05:00
CONTRIBUTING.md Update the project for github migration 2015-08-18 15:59:26 -04:00
DEVELOPMENT.md Drop the not about making an Xcode project from CocoaPods. 2026-05-12 09:54:05 -04:00
GTMSessionFetcher.podspec Version bump for a release 2026-05-12 09:13:13 -04:00
LICENSE Update the project for github migration 2015-08-18 15:59:26 -04:00
MODULE.bazel Update dependency rules_cc to v0.2.20 2026-06-29 10:16:13 -04:00
Package.swift Bump the min versions to match what Firebase will do for version 12. 2025-07-07 12:08:21 -04:00
README.md Add badge for bazel ci 2025-05-08 10:09:36 -04:00
renovate.json Group major/minor updates for fewer PRs 2025-06-16 07:59:18 -04:00
update_version.py Update the script for the reformatted file. 2026-02-13 14:21:09 -05:00
USING.md Docs updates. 2022-05-06 16:40:35 -04:00

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

SwiftPM CocoaPods Bazel

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 GTMSessionFetcherService factory class
  • Fully independent of other projects

To get started please read USING.md for detailed information.