Skip to content

Tags: simonjbeaumont/swift-openapi-urlsession

Tags

0.1.0

Toggle 0.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add a missing protocol conformance to ClientTransport (apple#4)

Add a missing protocol conformance to ClientTransport

### Motivation

We lost URLSessionTransport's conformance to ClientTransport along the way somewhere. But that's kind of its main job :)

### Modifications

Re-add the conformance.

### Result

Now the transport can be used as a ClientTransport again.

### Test Plan

Explicitly cast the test transport to be a ClientTransport, rather than using the concrete type.


Reviewed by: simonjbeaumont

Builds:
     ✔︎ pull request validation (5.8) - Build finished. 
     ✔︎ pull request validation (5.9) - Build finished. 
     ✔︎ pull request validation (nightly) - Build finished. 
     ✔︎ pull request validation (soundness) - Build finished. 

apple#4