-
Notifications
You must be signed in to change notification settings - Fork 2
HTTPResponseStatus
pokryfka edited this page Oct 1, 2020
·
2 revisions
public struct HTTPResponseStatus
Codable
, Equatable
public init(code: UInt, reasonPhrase: String? = nil)
public init(from decoder: Decoder) throws
let code: UInt
let reasonPhrase: String?
var `continue`: HTTPResponseStatus
var switchingProtocols: HTTPResponseStatus
var processing: HTTPResponseStatus
var earlyHints: HTTPResponseStatus
var ok: HTTPResponseStatus
var created: HTTPResponseStatus
var accepted: HTTPResponseStatus
var nonAuthoritativeInformation: HTTPResponseStatus
var noContent: HTTPResponseStatus
var resetContent: HTTPResponseStatus
var partialContent: HTTPResponseStatus
var multiStatus: HTTPResponseStatus
var alreadyReported: HTTPResponseStatus
var imUsed: HTTPResponseStatus
var multipleChoices: HTTPResponseStatus
var movedPermanently: HTTPResponseStatus
var found: HTTPResponseStatus
var seeOther: HTTPResponseStatus
var notModified: HTTPResponseStatus
var useProxy: HTTPResponseStatus
var temporaryRedirect: HTTPResponseStatus
var permanentRedirect: HTTPResponseStatus
var badRequest: HTTPResponseStatus
var unauthorized: HTTPResponseStatus
var paymentRequired: HTTPResponseStatus
var forbidden: HTTPResponseStatus
var notFound: HTTPResponseStatus
var methodNotAllowed: HTTPResponseStatus
var notAcceptable: HTTPResponseStatus
var proxyAuthenticationRequired: HTTPResponseStatus
var requestTimeout: HTTPResponseStatus
var conflict: HTTPResponseStatus
var gone: HTTPResponseStatus
var lengthRequired: HTTPResponseStatus
var preconditionFailed: HTTPResponseStatus
var payloadTooLarge: HTTPResponseStatus
var uriTooLong: HTTPResponseStatus
var unsupportedMediaType: HTTPResponseStatus
var rangeNotSatisfiable: HTTPResponseStatus
var expectationFailed: HTTPResponseStatus
var imATeapot: HTTPResponseStatus
var misdirectedRequest: HTTPResponseStatus
var unprocessableEntity: HTTPResponseStatus
var locked: HTTPResponseStatus
var failedDependency: HTTPResponseStatus
var upgradeRequired: HTTPResponseStatus
var preconditionRequired: HTTPResponseStatus
var tooManyRequests: HTTPResponseStatus
var requestHeaderFieldsTooLarge: HTTPResponseStatus
var unavailableForLegalReasons: HTTPResponseStatus
var internalServerError: HTTPResponseStatus
var notImplemented: HTTPResponseStatus
var badGateway: HTTPResponseStatus
var serviceUnavailable: HTTPResponseStatus
var gatewayTimeout: HTTPResponseStatus
var httpVersionNotSupported: HTTPResponseStatus
var variantAlsoNegotiates: HTTPResponseStatus
var insufficientStorage: HTTPResponseStatus
var loopDetected: HTTPResponseStatus
var notExtended: HTTPResponseStatus
var networkAuthenticationRequired: HTTPResponseStatus
public static func ==(lhs: Self, rhs: Self) -> Bool
public func encode(to encoder: Encoder) throws
Generated at 2020-10-02T05:43:09+0000 using swift-doc 1.0.0-beta.5.