From 9ee4afc69dc91edc84f9898cd236670f8b3242a8 Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Wed, 19 Apr 2023 00:16:05 +0200 Subject: [PATCH] Removed the "request(endpoint: )" function from the Client public protocol. --- Sources/Communications/Protocols/Client.swift | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Sources/Communications/Protocols/Client.swift b/Sources/Communications/Protocols/Client.swift index 3c1f556..bc641c7 100644 --- a/Sources/Communications/Protocols/Client.swift +++ b/Sources/Communications/Protocols/Client.swift @@ -27,9 +27,4 @@ public protocol Client { as model: Model.Type ) async throws -> Model - /// Makes a request to a remote location based on a given endpoint and expects to return an original, uncasted response. - /// - Parameter endpoint: The endpoint for which to make a remote call. - /// - Returns: An original data response from a call to a remote endpoint. - @discardableResult func request(endpoint: some Endpoint) async throws -> Data - }