Header
public struct Header : Codable
A structure that contains header fields for the directive.
-
The namespace of directive.
Declaration
Swift
public let namespace: String -
The name of directive.
Declaration
Swift
public let name: String -
The identifier for the response that generated by server.
Declaration
Swift
public let dialogRequestId: String -
The unique identifier for the directive.
Declaration
Swift
public let messageId: String -
The version of capability interface.
Declaration
Swift
public let version: String -
Creates an instance of an
Header.Declaration
Swift
public init(namespace: String, name: String, dialogRequestId: String, messageId: String, version: String)Parameters
namespace<#namespace description#>
name<#name description#>
dialogRequestId<#dialogRequestId description#>
messageId<#messageId description#>
version<#version description#>
-
The type of directive.
Declaration
Swift
public var type: String { get }
View on GitHub
Header Structure Reference