Commit c138732
authored
Add a missing protocol conformance to ClientTransport (#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.
#41 parent d42f383 commit c138732
File tree
2 files changed
+2
-2
lines changed- Sources/OpenAPIURLSession
- Tests/OpenAPIURLSessionTests
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments