execute(request:eventLoop:deadline:)

Execute arbitrary HTTP request using specified URL.

HTTPClient.swift:544
func execute(request: Request, eventLoop: EventLoopPreference, deadline: NIODeadline? = nil) -> EventLoopFuture<Response>

Parameters

request

HTTP request to execute.

eventLoop

NIO Event Loop preference.

deadline

Point in time by which the request must complete.