Skip to content
Josh Wright edited this page Jan 14, 2021 · 4 revisions

Header

Represents an item in a request's headers.

@propertyWrapper public struct Header: Codable

Inheritance

Codable

Initializers

init(wrappedValue:)

Initialize with a header value. The key for this header will be the name of the property this wraps.

public init(wrappedValue: String)

Parameters

  • wrappedValue: The value of this header.

init(from:)

public init(from decoder: Decoder) throws

Properties

wrappedValue

The value of the this header.

var wrappedValue: String
Alchemy
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Fusion
Types
Protocols
Papyrus
Types
Protocols
Clone this wiki locally