Skip to main content

Reference / Modules / client-node / NodeStreamFile

Class: NodeStreamFile

client-node.NodeStreamFile

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new NodeStreamFile(name, mimeType): NodeStreamFile

Parameters

NameType
namestring
mimeTypeMimeType

Returns

NodeStreamFile

Inherited from

File.constructor

Defined in

client/dist/ComponentFactory.d.ts:14

Properties

mimeType

Readonly mimeType: MimeType

Inherited from

File.mimeType

Defined in

client/dist/ComponentFactory.d.ts:16


name

Readonly name: string

Inherited from

File.name

Defined in

client/dist/ComponentFactory.d.ts:15

Methods

getHashAndSize

getHashAndSize(): Promise<HashAndSize>

Returns

Promise<HashAndSize>

Overrides

File.getHashAndSize

Defined in

client-node/src/index.ts:25


getStream

getStream(): ReadableStream

Returns

ReadableStream

Defined in

client-node/src/index.ts:44