Skip to content

Commit

Permalink
Use FoundationNetworking on Linux for Swift 5.1 (#2028)
Browse files Browse the repository at this point in the history
  • Loading branch information
joscdk authored and MrLotU committed Sep 18, 2019
1 parent bf496ff commit 92a58a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/Vapor/Client/FoundationClient.swift
@@ -1,3 +1,7 @@
#if canImport(FoundationNetworking)
import FoundationNetworking
#endif

/// `Client` wrapper around `Foundation.URLSession`.
public final class FoundationClient: Client, ServiceType {
/// See `ServiceType`.
Expand Down

0 comments on commit 92a58a9

Please sign in to comment.