This commit is contained in:
25
node_modules/geotiff/dist-module/source/httputils.d.ts
generated
vendored
Normal file
25
node_modules/geotiff/dist-module/source/httputils.d.ts
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* Parse a 'Content-Type' header value to the content-type and parameters
|
||||
* @param {String} rawContentType the raw string to parse from
|
||||
* @returns {Object} the parsed content type with the fields: type and params
|
||||
*/
|
||||
export function parseContentType(rawContentType: string): any;
|
||||
/**
|
||||
* Parse a 'Content-Range' header value to its start, end, and total parts
|
||||
* @param {String} rawContentRange the raw string to parse from
|
||||
* @returns {Object} the parsed parts
|
||||
*/
|
||||
export function parseContentRange(rawContentRange: string): any;
|
||||
/**
|
||||
* Parses a list of byteranges from the given 'multipart/byteranges' HTTP response.
|
||||
* Each item in the list has the following properties:
|
||||
* - headers: the HTTP headers
|
||||
* - data: the sliced ArrayBuffer for that specific part
|
||||
* - offset: the offset of the byterange within its originating file
|
||||
* - length: the length of the byterange
|
||||
* @param {ArrayBuffer} responseArrayBuffer the response to be parsed and split
|
||||
* @param {String} boundary the boundary string used to split the sections
|
||||
* @returns {Object[]} the parsed byteranges
|
||||
*/
|
||||
export function parseByteRanges(responseArrayBuffer: ArrayBuffer, boundary: string): any[];
|
||||
//# sourceMappingURL=httputils.d.ts.map
|
||||
Reference in New Issue
Block a user