EventHttpRequest::addHeader
(PECL event >= 1.4.0-beta)
EventHttpRequest::addHeader — Adds an HTTP header to the headers of the request
説明
Adds an HTTP header to the headers of the request.
パラメータ
-
key
-
Header name.
-
value
-
Header value.
-
type
-
One of
EventHttpRequest::*_HEADER
constants .
参考
- EventHttpRequest::removeHeader() - Removes an HTTP header from the headers of the request
+add a note
User Contributed Notes
There are no user contributed notes for this page.
↑ and ↓ to navigate •
Enter to select •
Esc to close
Press Enter without
selection to search using Google