HttpCommandResultMode
Enum
Specifies how an HTTP command should surface the HTTP response body as command result data.
type HttpCommandResultMode string
const ( HttpCommandResultModeNone HttpCommandResultMode = "None" HttpCommandResultModeAuto HttpCommandResultMode = "Auto" HttpCommandResultModeJson HttpCommandResultMode = "Json" HttpCommandResultModeText HttpCommandResultMode = "Text")Values
HttpCommandResultModeNone"None"Do not capture the HTTP response body as command result data.
HttpCommandResultModeAuto"Auto"Infer the command result format from the HTTP response content type.
HttpCommandResultModeJson"Json"Return the HTTP response body as JSON command result data.
HttpCommandResultModeText"Text"Return the HTTP response body as plain text command result data.