execute(request:timeout:logger:)

Execute HTTP request

AsyncHTTPClient.swift:27
func execute(request: AWSHTTPRequest, timeout: TimeAmount, logger: Logger) async throws -> AWSHTTPResponse

Parameters

request

HTTP request

timeout

If execution is idle for longer than timeout then throw error

eventLoop

eventLoop to run request on

Returns

EventLoopFuture that will be fulfilled with request response