Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

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.