tools-data-providers

Home > @lukso/data-provider-ipfs-http-client > IPFSHttpClientUploader > (constructor)

IPFSHttpClientUploader.(constructor)

Construct a provider using the ipfs-http-client

Signature:

constructor(gateway: string, options?: FormDataRequestOptions | undefined);

Parameters

Parameter Type Description
gateway string accepts a string, URL or options compatible for the create method
options FormDataRequestOptions | undefined (Optional) additional options for the fetch call