Contents

init(type:)

Creates a response format with type you specify.

Declaration

init<Content>(type: Content.Type) where Content : Generable

Parameters

  • type:

    A Generable type to use as the response format.

See Also

Creating a response format