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 src/types/server-types.ts:227

Content type of data contained within this payload


data#

data: Buffer

Defined in src/types/server-types.ts:225

Raw binary data as a Buffer


Optional suggestedExtension#

suggestedExtension? : undefined | string

Defined in src/types/server-types.ts:229

Suggested extension to use when writing the data