RSCommandContext
public struct RSCommandContext
Completes a command sent by the remote peer
-
Call when work associated with command is complete. Sends an acknowledgement in response to associated command
Declaration
Swift
public func complete()
-
Sends an error response to a command
Declaration
Swift
public func error(_ error: RSErrorResponse)
Parameters
error
RSErrorResponse
to be sent to user that sent command