Enums
The following enums are available globally.
-
An error that can be thrown while handling JSONP.
See moreDeclaration
Swift
public enum JSONPError: Swift.Error
-
An enum to describe the HTTP method (Get, Post, Put, Delete, etc) of an HTTP request. In general they match the actual HTTP methods by the same name. There are two special ones, used by
See moreRouter
when building up the set of mappings between paths and handlers or middleware. They are:Declaration
Swift
public enum RouterMethod: String
-
The result of parsing the body of the request.
When a body of a request is parsed the results of the parsing are placed in the associated value of the enum case based on Content-Type
See moreDeclaration
Swift
public indirect enum ParsedBody