Structurevapor 4.106.2Vapor
PlaintextDecoder
Decodes data as plaintext, utf8.
PlaintextDecoder.swift:5struct PlaintextDecoder
Citizens in Vapor
Conformances
protocol ContentDecoder
Conform a type to this protocol to make it usable for decoding data via Vapor’s
ContentConfiguration
system.protocol Sendable
Type members
Instance members
func decode<D>(D.Type, from: ByteBuffer, headers: HTTPHeaders
) throws -> D ContentDecoder
conformance.func decode<D>(D.Type, from: ByteBuffer, headers: HTTPHeaders, userInfo: [CodingUserInfoKey : Sendable]
) throws -> D ContentDecoder
conformance.