Skip to content

HTTPResponseStatus

pokryfka edited this page Oct 1, 2020 · 2 revisions

HTTPResponseStatus

public struct HTTPResponseStatus

Inheritance

Codable, Equatable

Initializers

init(code:reasonPhrase:)

public init(code: UInt, reasonPhrase: String? = nil)

init(from:)

public init(from decoder: Decoder) throws

Properties

code

let code: UInt

reasonPhrase

let reasonPhrase: String?

`continue`

var `continue`: HTTPResponseStatus

switchingProtocols

var switchingProtocols: HTTPResponseStatus

processing

var processing: HTTPResponseStatus

earlyHints

var earlyHints: HTTPResponseStatus

ok

var ok: HTTPResponseStatus

created

var created: HTTPResponseStatus

accepted

var accepted: HTTPResponseStatus

nonAuthoritativeInformation

var nonAuthoritativeInformation: HTTPResponseStatus

noContent

var noContent: HTTPResponseStatus

resetContent

var resetContent: HTTPResponseStatus

partialContent

var partialContent: HTTPResponseStatus

multiStatus

var multiStatus: HTTPResponseStatus

alreadyReported

var alreadyReported: HTTPResponseStatus

imUsed

var imUsed: HTTPResponseStatus

multipleChoices

var multipleChoices: HTTPResponseStatus

movedPermanently

var movedPermanently: HTTPResponseStatus

found

var found: HTTPResponseStatus

seeOther

var seeOther: HTTPResponseStatus

notModified

var notModified: HTTPResponseStatus

useProxy

var useProxy: HTTPResponseStatus

temporaryRedirect

var temporaryRedirect: HTTPResponseStatus

permanentRedirect

var permanentRedirect: HTTPResponseStatus

badRequest

var badRequest: HTTPResponseStatus

unauthorized

var unauthorized: HTTPResponseStatus

paymentRequired

var paymentRequired: HTTPResponseStatus

forbidden

var forbidden: HTTPResponseStatus

notFound

var notFound: HTTPResponseStatus

methodNotAllowed

var methodNotAllowed: HTTPResponseStatus

notAcceptable

var notAcceptable: HTTPResponseStatus

proxyAuthenticationRequired

var proxyAuthenticationRequired: HTTPResponseStatus

requestTimeout

var requestTimeout: HTTPResponseStatus

conflict

var conflict: HTTPResponseStatus

gone

var gone: HTTPResponseStatus

lengthRequired

var lengthRequired: HTTPResponseStatus

preconditionFailed

var preconditionFailed: HTTPResponseStatus

payloadTooLarge

var payloadTooLarge: HTTPResponseStatus

uriTooLong

var uriTooLong: HTTPResponseStatus

unsupportedMediaType

var unsupportedMediaType: HTTPResponseStatus

rangeNotSatisfiable

var rangeNotSatisfiable: HTTPResponseStatus

expectationFailed

var expectationFailed: HTTPResponseStatus

imATeapot

var imATeapot: HTTPResponseStatus

misdirectedRequest

var misdirectedRequest: HTTPResponseStatus

unprocessableEntity

var unprocessableEntity: HTTPResponseStatus

locked

var locked: HTTPResponseStatus

failedDependency

var failedDependency: HTTPResponseStatus

upgradeRequired

var upgradeRequired: HTTPResponseStatus

preconditionRequired

var preconditionRequired: HTTPResponseStatus

tooManyRequests

var tooManyRequests: HTTPResponseStatus

requestHeaderFieldsTooLarge

var requestHeaderFieldsTooLarge: HTTPResponseStatus

unavailableForLegalReasons

var unavailableForLegalReasons: HTTPResponseStatus

internalServerError

var internalServerError: HTTPResponseStatus

notImplemented

var notImplemented: HTTPResponseStatus

badGateway

var badGateway: HTTPResponseStatus

serviceUnavailable

var serviceUnavailable: HTTPResponseStatus

gatewayTimeout

var gatewayTimeout: HTTPResponseStatus

httpVersionNotSupported

var httpVersionNotSupported: HTTPResponseStatus

variantAlsoNegotiates

var variantAlsoNegotiates: HTTPResponseStatus

insufficientStorage

var insufficientStorage: HTTPResponseStatus

loopDetected

var loopDetected: HTTPResponseStatus

notExtended

var notExtended: HTTPResponseStatus

networkAuthenticationRequired

var networkAuthenticationRequired: HTTPResponseStatus

Methods

==(lhs:rhs:)

public static func ==(lhs: Self, rhs: Self) -> Bool

encode(to:)

public func encode(to encoder: Encoder) throws
Clone this wiki locally