forked from olcxjas-softworks/LarpixClient
Update gitignore (sorry)
This commit is contained in:
parent
a8f8c4d7ad
commit
cca8b02fea
6604 changed files with 1219661 additions and 4 deletions
22
electron/node_modules/decompress-response/index.d.ts
generated
vendored
Normal file
22
electron/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