WebhookHeader
public struct WebhookHeader : Codable, Equatable
A key/value pair defining an HTTP header and a value.
-
The name of an HTTP header (for example,
Authorization
).Declaration
Swift
public var name: String
-
The value of an HTTP header.
Declaration
Swift
public var value: String
-
Initialize a
WebhookHeader
with member variables.Declaration
Swift
public init( name: String, value: String )
Parameters
name
The name of an HTTP header (for example,
Authorization
).value
The value of an HTTP header.
Return Value
An initialized
WebhookHeader
.