Reference / Modules / client-node / NodeFile
Class: NodeFile
client-node.NodeFile
Hierarchy
-
↳
NodeFile
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new NodeFile(path
, name
, mimeType
): NodeFile
Parameters
Name | Type |
---|---|
path | string |
name | string |
mimeType | MimeType |
Returns
Overrides
Defined in
Properties
mimeType
• Readonly
mimeType: MimeType
Inherited from
Defined in
client/dist/ComponentFactory.d.ts:16
name
• Readonly
name: string
Inherited from
Defined in
client/dist/ComponentFactory.d.ts:15
path
• Private
path: string
Defined in
Methods
getHashAndSize
▸ getHashAndSize(): Promise
<HashAndSize
>
Returns
Promise
<HashAndSize
>
Inherited from
Defined in
getStream
▸ getStream(): ReadableStream
Returns
ReadableStream