Skip to content

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

Type Method

invalidHeader(reason:)

A part’s header fields could not be parsed.
static func invalidHeader(reason: String) -> MultipartParserError

Parameters

reason

An explanation of why the header is invalid.

Return Value

An error instance.