Instance Methodsoto-core 7.4.0SotoCore
handle(_:context:next:)
EditHeadersMiddleware.swift:37func handle(_ request: AWSHTTPRequest, context: AWSMiddlewareContext, next: AWSMiddlewareNextHandler) async throws -> AWSHTTPResponse
func handle(_ request: AWSHTTPRequest, context: AWSMiddlewareContext, next: AWSMiddlewareNextHandler) async throws -> AWSHTTPResponse
s8SotoCore24AWSEditHeadersMiddlewareV6handle_7context4nextAA15AWSHTTPResponseVAA14AWSHTTPRequestV_AA20AWSMiddlewareContextVAhJ_ALtYaKXEtYaKF
What are these?2U8DS
import SotoCore
struct AWSEditHeadersMiddleware
Middleware for editing header values sent to AWS service.
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(_ edits: HeaderEdit...)
init(_ edits: [HeaderEdit])
enum HeaderEdit