Instance Methodsoto-core 7.4.0SotoCore
handle(_:context:next:)
TracingMiddleware.swift:24func handle(_ request: AWSHTTPRequest, context: AWSMiddlewareContext, next: AWSMiddlewareNextHandler) async throws -> AWSHTTPResponse
func handle(_ request: AWSHTTPRequest, context: AWSMiddlewareContext, next: AWSMiddlewareNextHandler) async throws -> AWSHTTPResponse
s8SotoCore20AWSTracingMiddlewareV6handle_7context4nextAA15AWSHTTPResponseVAA14AWSHTTPRequestV_AA20AWSMiddlewareContextVAhJ_ALtYaKXEtYaKF
What are these?2CHN4
import SotoCore
struct AWSTracingMiddleware
Middleware for adding tracing to AWS calls.
struct AWSHTTPRequest
Object encapsulating all the information needed to generate a raw HTTP request to AWS
struct AWSMiddlewareContext
Context object sent to AWSMiddlewareProtocol
handle
functions
typealias AWSMiddlewareNextHandler = (AWSHTTPRequest, AWSMiddlewareContext) async throws -> AWSHTTPResponse
Function to call next middleware in the chain
struct AWSHTTPResponse
Structure encapsulating an HTTP Response
init()