Skip to main content

DataPayload

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

Binary data payload

Hierarchy#

  • DataPayload

Index#

Properties#

Properties#

contentType#

contentType: string

Defined in types/server-types.ts:171

Content type of data contained within this payload


data#

data: Buffer

Defined in types/server-types.ts:169

Raw binary data as a Buffer


Optional suggestedExtension#

suggestedExtension? : undefined | string

Defined in types/server-types.ts:173

Suggested extension to use when writing the data