@@ -197,26 +197,6 @@ public class HTTPClient {
197197 return self . execute ( url: url, method: . GET, deadline: deadline)
198198 }
199199
200- /// Execute `GET` request to a unix domain socket path, using the specified URL as the request to send to the server.
201- ///
202- /// - parameters:
203- /// - socketPath: The path to the unix domain socket to connect to.
204- /// - url: The URL path and query that will be sent to the server.
205- /// - deadline: Point in time by which the request must complete.
206- public func get( socketPath: String , url: String , deadline: NIODeadline ? = nil ) -> EventLoopFuture < Response > {
207- return self . execute ( socketPath: socketPath, url: url, method: . GET, deadline: deadline)
208- }
209-
210- /// Execute `GET` request to a unix domain socket path over TLS, using the specified URL as the request to send to the server.
211- ///
212- /// - parameters:
213- /// - secureSocketPath: The path to the unix domain socket to connect to.
214- /// - url: The URL path and query that will be sent to the server.
215- /// - deadline: Point in time by which the request must complete.
216- public func get( secureSocketPath: String , url: String , deadline: NIODeadline ? = nil ) -> EventLoopFuture < Response > {
217- return self . execute ( secureSocketPath: secureSocketPath, url: url, method: . GET, deadline: deadline)
218- }
219-
220200 /// Execute `POST` request using specified URL.
221201 ///
222202 /// - parameters:
@@ -227,28 +207,6 @@ public class HTTPClient {
227207 return self . execute ( url: url, method: . POST, body: body, deadline: deadline)
228208 }
229209
230- /// Execute `POST` request to a unix domain socket path, using the specified URL as the request to send to the server.
231- ///
232- /// - parameters:
233- /// - socketPath: The path to the unix domain socket to connect to.
234- /// - url: The URL path and query that will be sent to the server.
235- /// - body: Request body.
236- /// - deadline: Point in time by which the request must complete.
237- public func post( socketPath: String , url: String , body: Body ? = nil , deadline: NIODeadline ? = nil ) -> EventLoopFuture < Response > {
238- return self . execute ( socketPath: socketPath, url: url, method: . POST, body: body, deadline: deadline)
239- }
240-
241- /// Execute `POST` request to a unix domain socket path over TLS, using the specified URL as the request to send to the server.
242- ///
243- /// - parameters:
244- /// - secureSocketPath: The path to the unix domain socket to connect to.
245- /// - url: The URL path and query that will be sent to the server.
246- /// - body: Request body.
247- /// - deadline: Point in time by which the request must complete.
248- public func post( secureSocketPath: String , url: String , body: Body ? = nil , deadline: NIODeadline ? = nil ) -> EventLoopFuture < Response > {
249- return self . execute ( secureSocketPath: secureSocketPath, url: url, method: . POST, body: body, deadline: deadline)
250- }
251-
252210 /// Execute `PATCH` request using specified URL.
253211 ///
254212 /// - parameters:
@@ -259,28 +217,6 @@ public class HTTPClient {
259217 return self . execute ( url: url, method: . PATCH, body: body, deadline: deadline)
260218 }
261219
262- /// Execute `PATCH` request to a unix domain socket path, using the specified URL as the request to send to the server.
263- ///
264- /// - parameters:
265- /// - socketPath: The path to the unix domain socket to connect to.
266- /// - url: The URL path and query that will be sent to the server.
267- /// - body: Request body.
268- /// - deadline: Point in time by which the request must complete.
269- public func patch( socketPath: String , url: String , body: Body ? = nil , deadline: NIODeadline ? = nil ) -> EventLoopFuture < Response > {
270- return self . execute ( socketPath: socketPath, url: url, method: . PATCH, body: body, deadline: deadline)
271- }
272-
273- /// Execute `PATCH` request to a unix domain socket path over TLS, using the specified URL as the request to send to the server.
274- ///
275- /// - parameters:
276- /// - secureSocketPath: The path to the unix domain socket to connect to.
277- /// - url: The URL path and query that will be sent to the server.
278- /// - body: Request body.
279- /// - deadline: Point in time by which the request must complete.
280- public func patch( secureSocketPath: String , url: String , body: Body ? = nil , deadline: NIODeadline ? = nil ) -> EventLoopFuture < Response > {
281- return self . execute ( secureSocketPath: secureSocketPath, url: url, method: . PATCH, body: body, deadline: deadline)
282- }
283-
284220 /// Execute `PUT` request using specified URL.
285221 ///
286222 /// - parameters:
@@ -291,28 +227,6 @@ public class HTTPClient {
291227 return self . execute ( url: url, method: . PUT, body: body, deadline: deadline)
292228 }
293229
294- /// Execute `PUT` request to a unix domain socket path, using the specified URL as the request to send to the server.
295- ///
296- /// - parameters:
297- /// - socketPath: The path to the unix domain socket to connect to.
298- /// - url: The URL path and query that will be sent to the server.
299- /// - body: Request body.
300- /// - deadline: Point in time by which the request must complete.
301- public func put( socketPath: String , url: String , body: Body ? = nil , deadline: NIODeadline ? = nil ) -> EventLoopFuture < Response > {
302- return self . execute ( socketPath: socketPath, url: url, method: . PUT, body: body, deadline: deadline)
303- }
304-
305- /// Execute `PUT` request to a unix domain socket path over TLS, using the specified URL as the request to send to the server.
306- ///
307- /// - parameters:
308- /// - secureSocketPath: The path to the unix domain socket to connect to.
309- /// - url: The URL path and query that will be sent to the server.
310- /// - body: Request body.
311- /// - deadline: Point in time by which the request must complete.
312- public func put( secureSocketPath: String , url: String , body: Body ? = nil , deadline: NIODeadline ? = nil ) -> EventLoopFuture < Response > {
313- return self . execute ( secureSocketPath: secureSocketPath, url: url, method: . PUT, body: body, deadline: deadline)
314- }
315-
316230 /// Execute `DELETE` request using specified URL.
317231 ///
318232 /// - parameters:
@@ -322,26 +236,6 @@ public class HTTPClient {
322236 return self . execute ( url: url, method: . DELETE, deadline: deadline)
323237 }
324238
325- /// Execute `DELETE` request to a unix domain socket path, using the specified URL as the request to send to the server.
326- ///
327- /// - parameters:
328- /// - socketPath: The path to the unix domain socket to connect to.
329- /// - url: The URL path and query that will be sent to the server.
330- /// - deadline: The time when the request must have been completed by.
331- public func delete( socketPath: String , url: String , deadline: NIODeadline ? = nil ) -> EventLoopFuture < Response > {
332- return self . execute ( socketPath: socketPath, url: url, method: . DELETE, deadline: deadline)
333- }
334-
335- /// Execute `DELETE` request to a unix domain socket path over TLS, using the specified URL as the request to send to the server.
336- ///
337- /// - parameters:
338- /// - secureSocketPath: The path to the unix domain socket to connect to.
339- /// - url: The URL path and query that will be sent to the server.
340- /// - deadline: The time when the request must have been completed by.
341- public func delete( secureSocketPath: String , url: String , deadline: NIODeadline ? = nil ) -> EventLoopFuture < Response > {
342- return self . execute ( secureSocketPath: secureSocketPath, url: url, method: . DELETE, deadline: deadline)
343- }
344-
345239 /// Execute arbitrary HTTP request using specified URL.
346240 ///
347241 /// - parameters:
0 commit comments