Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
inflatestream.php
1
<?php
2
3
namespace
Bitrix\Main\Web\Http
;
4
5
class
InflateStream
extends
Stream
6
{
7
public
function
__construct
($stream, $mode =
'r+'
)
8
{
9
parent::__construct($stream, $mode);
10
11
// ZLIB or GZIP: use window=$W+32 for automatic header detection, so that both the formats can be recognized and decompressed; window=15+32=47 is the safer choice.
12
stream_filter_append($this->resource,
'zlib.inflate'
, STREAM_FILTER_WRITE, [
'window'
=> 47]);
13
}
14
}
Bitrix\Main\Web\Http\InflateStream
Definition
inflatestream.php:6
Bitrix\Main\Web\Http\InflateStream\__construct
__construct($stream, $mode='r+')
Definition
inflatestream.php:7
Bitrix\Main\Web\Http\Stream
Definition
stream.php:9
Bitrix\Main\Web\Http
Definition
clientexception.php:3
modules
main
lib
web
http
inflatestream.php
Создано системой
1.10.0