Event
public struct EventA structure that contains a event and contexts.
- 
                  
                  A dictionary that contains payload for the event. DeclarationSwift public let payload: [String : AnyHashable]
- 
                  
                  A structure that contains header fields for the event. DeclarationSwift public let header: Header
- 
                  
                  A dictionary that contains extra header fields for the event. DeclarationSwift public let httpHeaderFields: [String : String]?
- 
                  
                  A array that contains capability interface’s context. DeclarationSwift public let contextPayload: [ContextInfo]
- 
                  
                  Creates an instance of an Event.DeclarationSwift public init(payload: [String : AnyHashable], header: Header, httpHeaderFields: [String : String]? = nil, contextPayload: [ContextInfo])ParameterspayloadA dictionary that contains payload for the event. headerA structure that contains header fields for the event. httpHeaderFieldsA dictionary that contains extra header fields for the event. contextPayloadA array that contains capability interface’s context. 
 View on GitHub
View on GitHub Event Structure Reference
        Event Structure Reference