Latest 1.2.2
Homepage https://github.com/google/gtm-session-fetcher
License Apache
Platforms ios 7.0, osx 10.9, tvos 9.0, watchos 2.0

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

Latest podspec

{
    "name": "GTMSessionFetcher",
    "version": "1.2.2",
    "authors": "Google Inc.",
    "license": {
        "type": "Apache",
        "file": "LICENSE"
    },
    "homepage": "https://github.com/google/gtm-session-fetcher",
    "source": {
        "git": "https://github.com/google/gtm-session-fetcher.git",
        "tag": "v1.2.2"
    },
    "summary": "Google Toolbox for Mac - Session Fetcher",
    "description": "GTMSessionFetcher makes it easy for Cocoa applicationsnto perform http operations. The fetcher is implementednas a wrapper on NSURLSession, so its behavior is asynchronousnand uses operating-system settings on iOS and Mac OS X.",
    "platforms": {
        "ios": "7.0",
        "osx": "10.9",
        "tvos": "9.0",
        "watchos": "2.0"
    },
    "default_subspecs": "Full",
    "subspecs": [
        {
            "name": "Core",
            "source_files": [
                "Source/GTMSessionFetcher.{h,m}",
                "Source/GTMSessionFetcherLogging.{h,m}",
                "Source/GTMSessionFetcherService.{h,m}",
                "Source/GTMSessionUploadFetcher.{h,m}"
            ],
            "frameworks": "Security"
        },
        {
            "name": "Full",
            "source_files": [
                "Source/GTMGatherInputStream.{h,m}",
                "Source/GTMMIMEDocument.{h,m}",
                "Source/GTMReadMonitorInputStream.{h,m}"
            ],
            "dependencies": {
                "GTMSessionFetcher/Core": [
                    "1.2.2"
                ]
            }
        },
        {
            "name": "LogView",
            "platforms": {
                "ios": "7.0"
            },
            "source_files": "Source/GTMSessionFetcherLogViewController.{h,m}",
            "dependencies": {
                "GTMSessionFetcher/Core": [
                    "1.2.2"
                ]
            }
        }
    ]
}

Pin It on Pinterest

Share This