Options
All
  • Public
  • Public/Protected
  • All
Menu

Class IpfsClient

Class represents Ipfs client

Hierarchy

  • IpfsClient

Index

Constructors

Properties

Methods

Constructors

constructor

  • Constructor

    Parameters

    Returns IpfsClient

Properties

Private connection

connection: IpfsConnection

Methods

addStream

  • addStream(data: any, options?: undefined | object): Observable<string>
  • Add stream to ipfs storage

    Parameters

    • data: any

      the data

    • Optional options: undefined | object

      the callback options

    Returns Observable<string>

getStream

  • Gets stream from ipfs storage by datahash

    Parameters

    • hash: string

      the data hash

    Returns Observable<IpfsContent>

Generated using TypeDoc