Skip to content

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

Type Property

unexpectedEndOfFile

The message ended while a part was still being parsed.
static let unexpectedEndOfFile: MultipartParserError

Discussion

This is also thrown by parse(_:) when the data handed to it is an incomplete message, since a synchronous parse has no way to ask for more data.