CommandResponse
public class CommandResponse: Command, CommandRecord, CommandDocumentData
Command subclass that contains additional properties after the Command has been committed.
-
Declaration
Swift
public private(set) var documentType: DocumentTypes = DocumentTypes.command -
Declaration
Swift
public private(set) var commandId: String = "" -
The body of a Command, consisting of any name/value pairs needed for this Command
Declaration
Swift
override public var body: [String : Any] -
The route of a Command Processor where this command will be delivered
Declaration
Swift
override public var uri: String -
The http method which will be used to deliver this command to the command processor
Declaration
Swift
override public var method: Http.Method -
An optional list of target document ids related to this Command.
Declaration
Swift
override public var targetDocuments: [String] -
An optional tag that can be used to group or identify commands.
Declaration
Swift
override public var tag: String?
View on GitHub
CommandResponse Class Reference