• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kgoodier / CocoaSPDY / 123 / 1
70%
develop: 76%

Build:
Build:
LAST BUILD BRANCH: ipv6-aliases
DEFAULT BRANCH: develop
Ran 22 Apr 2015 06:32PM UTC
Files 55
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Apr 2015 06:26PM UTC coverage: 70.256%. Remained the same
123.1

push

travis-ci

kgoodier
Add richer NSURLSession support.

This change provides SPDY with with NSURLSession, NSURLSessionTask,
and associated configuration. This provides several benefits:

SPDY will have access to the app's delegate and operation queue, which
can be extended and used for additional callbacks, such as informing
the app a request is about to be dispatched to SPDY (implemented here),
or a new pushed stream was received (not yet implemented).

The NSURLSessionConfiguration is available, which Apple failed to
provided via the usual NSURLProtocol interfaces. This means we can
retrieve per-request cookie and cache configuration.

A new SPDYURLSessionDelegate extended delegate is now exposed. The app
may choose to implement this via the NSURLSession.delegate instance. It
will return the SPDYProtocol instance to the app, which can be used now
to directly retrieve the metadata, even in the cases where a NSURL-based
NSError is returned for the request. Previously it was impossible to
tell if CocoaSPDY serviced the request or not in this case (e.g.,
request timeouts).

Note: In order for this to work, the app must set the SPDYURLSession
property on the NSURLRequest instance prior to starting the request.
SPDY uses some indirection, to avoid serialization warnings when
caching the NSURLRequest, to store this reference.

Big thanks to @NSProgrammer for doing most of this work.

2688 of 3826 relevant lines covered (70.26%)

36.4 hits per line

Source Files on job 123.1
  • Tree
  • List 0
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 123
  • Travis Job 123.1
  • 07bc7c9f on github
  • Prev Job for on feature/nsurlsession-support (#122.1)
  • Next Job for on feature/nsurlsession-support (#124.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc