1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Response
Граф наследования:Response:
Message

Открытые члены

 __construct (int $statusCode, array $headers=null, StreamInterface $body=null, string $version=null, string $reasonPhrase='')
 getStatusCode ()
 withStatus (int $code, string $reasonPhrase='')
 getReasonPhrase ()
 adjustHeaders ()
Открытые члены унаследованные от Message
 __construct (array $headers=null, StreamInterface $body=null, string $version=null)
 getProtocolVersion ()
 withProtocolVersion (string $version)
 getHeadersCollection ()
 getHeaders ()
 hasHeader (string $name)
 getHeader (string $name)
 getHeaderLine (string $name)
 withHeader (string $name, $value)
 withAddedHeader (string $name, $value)
 withoutHeader (string $name)
 getBody ()
 withBody (StreamInterface $body)
 __clone ()

Дополнительные унаследованные члены

Защищенные данные унаследованные от Message
HttpHeaders $headers
StreamInterface $body

Подробное описание

См. определение в файле response.php строка 15

Конструктор(ы)

◆ __construct()

__construct ( int $statusCode,
array $headers = null,
StreamInterface $body = null,
string $version = null,
string $reasonPhrase = '' )

См. определение в файле response.php строка 17

Методы

◆ adjustHeaders()

adjustHeaders ( )

Adjusts the response headers after dechunking and decompressing the body.

Возвращает
void

См. определение в файле response.php строка 55

◆ getReasonPhrase()

getReasonPhrase ( )

См. определение в файле response.php строка 46

◆ getStatusCode()

getStatusCode ( )

См. определение в файле response.php строка 27

◆ withStatus()

withStatus ( int $code,
string $reasonPhrase = '' )

См. определение в файле response.php строка 35


Объявления и описания членов класса находятся в файле: