Instance Methodvapor 4.114.1Vapor

decode(_:as:)

Use the default configured decoder for the contentType parameter to read a value of type D from the container.

ContentContainer.swift:39
func decode<D>(_: D.Type, as contentType: HTTPMediaType) throws -> D where D : Decodable