* Create a `URLDataSource`. * * @param url A source URL string, or a `Request` object. * @param options Options passed to the underlying `FileChunkIterator`s, * such as {chunksize: 1024}.
(
protected readonly url: RequestInfo,
protected readonly fileOptions: FileChunkIteratorOptions = {})
| 35 | * such as {chunksize: 1024}. |
| 36 | */ |
| 37 | constructor( |
| 38 | protected readonly url: RequestInfo, |
| 39 | protected readonly fileOptions: FileChunkIteratorOptions = {}) { |
| 40 | super(); |
| 41 | } |
| 42 | |
| 43 | // TODO(soergel): provide appropriate caching options. Currently this |
| 44 | // will download the URL anew for each call to iterator(). Since we have |
nothing calls this directly
no outgoing calls
no test coverage detected