Reference / Modules / client-node / NodeStreamFile
Class: NodeStreamFile
client-node.NodeStreamFile
Hierarchy
-
File
↳
NodeStreamFile
↳↳
NodeFile
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new NodeStreamFile(name
, mimeType
): NodeStreamFile
Parameters
Name | Type |
---|---|
name | string |
mimeType | MimeType |
Returns
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
getStream
▸ getStream(): ReadableStream
Returns
ReadableStream