Skip to main content

ServerPerformDataReturn

@prismatic-io/spectral"types/server-types"ServerPerformDataReturn

Used to represent a binary or serialized data return as content type must be specified

Hierarchy#

Index#

Properties#

Properties#

contentType#

contentType: string

Defined in types/server-types.ts:91

The Content Type of the payload data


data#

data: Buffer | string | unknown

Defined in types/server-types.ts:89

Data payload containing data of the specified contentType


Optional state#

state? : Record‹string, unknown›

Defined in types/server-types.ts:95

An optional object, the keys and values of which will be persisted in the instanceState and available for subsequent actions and executions


Optional statusCode#

statusCode? : undefined | number

Defined in types/server-types.ts:93

The HTTP Status code that will be used if this terminates a synchronous invocation