Skip to content

Type Method

duplicateField(_:)

Creates an error indicating a duplicate field in the header.
static func duplicateField(_ field: String) -> ContentDisposition.Error

Parameters

field

The name of the duplicate field.

Return Value

An error instance.