Buckets:
| /// <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; | |
Xet Storage Details
- Size:
- 542 Bytes
- Xet hash:
- 68033ff78904ee536206049b62916e181748227b3b2f9e8c31334f4d4c236997
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.