Instance Methodsoto-core 7.4.0SotoCore
handle(_:context:next:)
TreeHashMiddleware.swift:25func handle(_ request: AWSHTTPRequest, context: AWSMiddlewareContext, next: AWSMiddlewareNextHandler) async throws -> AWSHTTPResponse
func handle(_ request: AWSHTTPRequest, context: AWSMiddlewareContext, next: AWSMiddlewareNextHandler) async throws -> AWSHTTPResponse
s8SotoCore18TreeHashMiddlewareV6handle_7context4nextAA15AWSHTTPResponseVAA14AWSHTTPRequestV_AA20AWSMiddlewareContextVAhJ_ALtYaKXEtYaKF
What are these?9GHNX
import SotoCore
struct TreeHashMiddleware
Middleware to add tree hash of body to request
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(header: String)