Home > @lukso/data-provider-ipfs-http-client > IPFSHttpClientUploader
Data provider for uploading compatible with the ipfs-http-client directly. This is backward compatible with the most ipfs pinning APIs, but ipfs-http-client has been deprecated in favor of Helia see https://github.com/ipfs/js-ipfs/issues/4336
Signature:
declare class IPFSHttpClientUploader extends BaseFormDataUploader
Extends: BaseFormDataUploader
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(gateway, options) | Construct a provider using the ipfs-http-client |
| Method | Modifiers | Description |
|---|---|---|
| getEndpoint() | Get configured endpoint | |
| getRequestOptions(dataContent, meta) | Add additional arguments needed as part of the POST fetch request. | |
| resolveUrl(result) | Resolve the URL during uploading |