Back to Kitura

Enumerations

docs/Enums.html

3.0.11.3 KB
Original Source

Enumerations

The following enumerations are available globally.

`

                JSONPError
                `

An error that can be thrown while handling JSONP.

See more

Declaration

Swift

public enum JSONPError : Swift.Error
extension JSONPError: CustomStringConvertible

`

                LinkParameter
                `

Possible parameters of Link HTTP header.

See RFC 5988 for more details.

See more

Declaration

Swift

public enum LinkParameter : String

`

                RouterMethod
                `

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.

See more

Declaration

Swift

public enum RouterMethod : String
extension RouterMethod: CustomStringConvertible

`

                ParsedBody
                `

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 more

Declaration

Swift

public indirect enum ParsedBody