Module: OutputFormat

Constants that are used to indicate the output format for ePO to use when responding to a remote command invocation.

Source:

Members

(static) BINARY

Return response payload as a binary Buffer.

Source:

(static) OBJECT

Return response payload as a JavaScript object.

Source:

(static) STRING

Return response payload as a string.

Source:

Methods

(static) validate(outputFormat)

Validates that the specified format is valid (binary, string, object).

Parameters:
Name Type Description
outputFormat String

The output format

Source:
Throws:

If the format is not valid.

Type
TypeError