execute(_:socketPath:urlPath:body:deadline:logger:)

Execute arbitrary HTTP+UNIX request to a unix domain socket path, using the specified URL as the request to send to the server.

HTTPClient.swift:471
func execute(_ method: HTTPMethod = .GET, socketPath: String, urlPath: String, body: Body? = nil, deadline: NIODeadline? = nil, logger: Logger? = nil) -> EventLoopFuture<Response>

Parameters

method

Request method.

socketPath

The path to the unix domain socket to connect to.

urlPath

The URL path and query that will be sent to the server.

body

Request body.

deadline

Point in time by which the request must complete.

logger

The logger to use for this request.