SwiftstructHTTPTypesInternal

struct HTTPTypesInternal.HTTPResponse

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 7

  1. fieldvar actual: Network.HTTPResponse
  2. initinit(parsed: [HTTPTypesInternal.HTTPField]) throws -> HTTPTypesInternal.HTTPResponse
  3. initinit(status: HTTPTypesInternal.HTTPResponse.Status, headerFields: HTTPTypesInternal.HTTPFields) -> HTTPTypesInternal.HTTPResponse
  4. varvar debugDescription: String { get }
  5. varvar headerFields: HTTPTypesInternal.HTTPFields { get set }
  6. varvar pseudoHeaderFields: HTTPTypesInternal.HTTPResponse.PseudoHeaderFields { get set }
  7. varvar status: HTTPTypesInternal.HTTPResponse.Status { get set }
struct HTTPResponse {
    struct Status {
        enum Kind {
            case invalid
            case informational
            case successful
            case redirection
            case clientError
            case serverError
        }
        let actual: Network.HTTPResponse.Status

        init(integerLiteral: Swift.Int)
        init(code: Swift.Int, reasonPhrase: Swift.String)

        var code: Swift.Int {
            get
        }
        var description: Swift.String {
            get
        }
        var kind: HTTPTypesInternal.HTTPResponse.Status.Kind {
            get
        }
        var reasonPhrase: Swift.String {
            get
        }

        static var accepted: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var badGateway: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var badRequest: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var conflict: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var contentTooLarge: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var continue: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var created: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var earlyHints: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var expectationFailed: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var forbidden: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var found: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var gatewayTimeout: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var gone: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var httpVersionNotSupported: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var internalServerError: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var lengthRequired: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var methodNotAllowed: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var misdirectedRequest: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var movedPermanently: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var multipleChoices: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var networkAuthenticationRequired: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var noContent: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var nonAuthoritativeInformation: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var notAcceptable: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var notFound: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var notImplemented: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var notModified: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var ok: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var partialContent: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var permanentRedirect: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var preconditionFailed: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var preconditionRequired: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var proxyAuthenticationRequired: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var rangeNotSatisfiable: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var requestHeaderFieldsTooLarge: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var requestTimeout: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var resetContent: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var seeOther: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var serviceUnavailable: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var switchingProtocols: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var temporaryRedirect: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var tooEarly: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var tooManyRequests: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var unauthorized: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var unavailableForLegalReasons: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var unprocessableContent: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var unsupportedMediaType: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var upgradeRequired: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
        static var uriTooLong: HTTPTypesInternal.HTTPResponse.Status {
            get
        }
    }
    struct PseudoHeaderFields {
        var actual: Network.HTTPResponse.PseudoHeaderFields

        var status: HTTPTypesInternal.HTTPField {
            get
            set
        }
    }
    var actual: Network.HTTPResponse

    init(parsed: [HTTPTypesInternal.HTTPField]) throws
    init(status: HTTPTypesInternal.HTTPResponse.Status, headerFields: HTTPTypesInternal.HTTPFields)

    var debugDescription: Swift.String {
        get
    }
    var headerFields: HTTPTypesInternal.HTTPFields {
        get
        set
    }
    var pseudoHeaderFields: HTTPTypesInternal.HTTPResponse.PseudoHeaderFields {
        get
        set
    }
    var status: HTTPTypesInternal.HTTPResponse.Status {
        get
        set
    }
}