Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Instance Method

decode(_:from:headers:userInfo:)

func decode<D>(_ decodable: D.Type, from body: Data, headers: HTTPFields, userInfo: [CodingUserInfoKey : any Sendable]) throws -> D where D : Decodable