This commit is contained in:
30
node_modules/geotiff/dist-node/source/client/base.d.ts
generated
vendored
Normal file
30
node_modules/geotiff/dist-node/source/client/base.d.ts
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
export class BaseResponse {
|
||||
/**
|
||||
* Returns whether the response has an ok'ish status code
|
||||
*/
|
||||
get ok(): boolean;
|
||||
/**
|
||||
* Returns the status code of the response
|
||||
*/
|
||||
get status(): void;
|
||||
/**
|
||||
* Returns the value of the specified header
|
||||
* @param {string} headerName the header name
|
||||
* @returns {string} the header value
|
||||
*/
|
||||
getHeader(headerName: string): string;
|
||||
/**
|
||||
* @returns {ArrayBuffer} the response data of the request
|
||||
*/
|
||||
getData(): ArrayBuffer;
|
||||
}
|
||||
export class BaseClient {
|
||||
constructor(url: any);
|
||||
url: any;
|
||||
/**
|
||||
* Send a request with the options
|
||||
* @param {object} [options]
|
||||
*/
|
||||
request({ headers, credentials, signal }?: object): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=base.d.ts.map
|
||||
Reference in New Issue
Block a user