mirror of
https://github.com/JonasunderscoreJones/aka-worker.git
synced 2025-10-23 09:59:19 +02:00
Initial commit (by create-cloudflare CLI)
This commit is contained in:
parent
8cb86120f1
commit
fff961078a
1777 changed files with 1011798 additions and 0 deletions
22
cool-dawn-3d3b/node_modules/decompress-response/index.d.ts
generated
vendored
Normal file
22
cool-dawn-3d3b/node_modules/decompress-response/index.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/// <reference types="node"/>
|
||||
import {IncomingMessage} from 'http';
|
||||
|
||||
/**
|
||||
Decompress a HTTP response if needed.
|
||||
|
||||
@param response - The HTTP incoming stream with compressed data.
|
||||
@returns The decompressed HTTP response stream.
|
||||
|
||||
@example
|
||||
```
|
||||
import {http} from 'http';
|
||||
import decompressResponse = require('decompress-response');
|
||||
|
||||
http.get('https://sindresorhus.com', response => {
|
||||
response = decompressResponse(response);
|
||||
});
|
||||
```
|
||||
*/
|
||||
declare function decompressResponse(response: IncomingMessage): IncomingMessage;
|
||||
|
||||
export = decompressResponse;
|
Loading…
Add table
Add a link
Reference in a new issue