Skip to content

API Collection

ContentDecoder Implementations

Topics

Instance Methods

  • decode(_:from:headers:)
    Legacy “decode object” method. The provided NIOCore/ByteBuffer should be decoded as a value of the given type, optionally guided by the provided HTTPHeaders.
  • decode(_:from:headers:userInfo:)
    “Decode object” method. The provided NIOCore/ByteBuffer should be decoded as a value of the given type, optionally guided by the provided HTTPHeaders. The provided userInfo dictionary must be forwarded to the underlying Swift/Decoder used to perform the decoding operation.