Skip to content
Vapor Week is coming 14th September!

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

Type Method

invalidDispositionType(_:)

Creates an error indicating an incorrect disposition type.
static func invalidDispositionType(_ type: String) -> ContentDisposition.Error

Parameters

type

The invalid disposition type found in the header.

Return Value

An error instance.