Swiftpack.co - google/gtm-session-fetcher as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by google.
google/gtm-session-fetcher v3.4.1
Google Toolbox for Mac - Session Fetcher
⭐️ 233
🕓 5 days ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/google/gtm-session-fetcher.git", from: "v3.4.1")

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

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.

GitHub

link
Stars: 233
Last commit: 19 hours ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

v3.4.1 Release
5 days ago

What's Changed

Full Changelog: https://github.com/google/gtm-session-fetcher/compare/v3.4.0...v3.4.1

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics