1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00
ocean.js/docs/interfaces/UrlFile.md
2023-05-02 18:18:30 +01:00

72 lines
1.2 KiB
Markdown

[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / UrlFile
# Interface: UrlFile
## Table of contents
### Properties
- [headers](UrlFile.md#headers)
- [index](UrlFile.md#index)
- [method](UrlFile.md#method)
- [type](UrlFile.md#type)
- [url](UrlFile.md#url)
## Properties
### headers
`Optional` **headers**: `FileTypeHeaders`
Headers key value pairs associated with the asset GET request
#### Defined in
[@types/File.ts:32](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L32)
___
### index
`Optional` **index**: `number`
File index.
#### Defined in
[@types/File.ts:14](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L14)
___
### method
**method**: `string`
HTTP method used
#### Defined in
[@types/File.ts:26](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L26)
___
### type
**type**: ``"url"``
#### Defined in
[@types/File.ts:8](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L8)
___
### url
• **url**: `string`
File URL.
#### Defined in
[@types/File.ts:20](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L20)