CakeFest 2024: The Official CakePHP Conference

EventHttpRequest::removeHeader

(PECL event >= 1.4.0-beta)

EventHttpRequest::removeHeaderУдаляет заголовок HTTP из заголовков запроса

Описание

public EventHttpRequest::removeHeader( string $key , string $type ): void

Удаляет заголовок HTTP из заголовков запроса.

Список параметров

key

Наименование заголовка.

type

type одна из констант EventHttpRequest::*_HEADER .

Возвращаемые значения

Удаляет заголовок HTTP из заголовков запроса.

Смотрите также

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top