Header
public struct Header : Codable
A structure that contains header fields for the event.
-
The namespace of event.
Declaration
Swift
public let namespace: String -
The name of event.
Declaration
Swift
public let name: String -
The version of capability interface that .
Declaration
Swift
public let version: String -
The identifier for the request that generated by client.
Declaration
Swift
public let dialogRequestId: String -
The unique identifier for the event.
Declaration
Swift
public let messageId: String -
The referrer dialog request identifier.
Declaration
Swift
public let referrerDialogRequestId: String? -
Creates an instance of an
Header.Declaration
Swift
public init(namespace: String, name: String, version: String, dialogRequestId: String, messageId: String, referrerDialogRequestId: String? = nil)Parameters
namespaceThe namespace of event.
nameThe name of event.
versionThe version of capability interface.
dialogRequestIdThe identifier for the request that generated by client.
messageIdThe identifier for the request that generated by client.
referrerDialogRequestIdThe referrer dialog request identifier.
-
The type of event.
Declaration
Swift
public var type: String { get }
View on GitHub
Header Structure Reference