Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
SevenShores
Hubspot
Http
Response
hasHeader
SevenShores\Hubspot\Http\Response::hasHeader PHP Method
Response Class Documentation
Show file
Open project: fungku/hubspot-php
hasHeader()
public
method
Checks if a header exists by the given case-insensitive name.
public
hasHeader
(
string
$name
) :
boolean
$name
string
Case-insensitive header field name.
return
boolean
Returns true if any header names match the given header name using a case-insensitive string comparison. Returns false if no matching header name is found in the message.
function hasHeader($name) { return $this->response->hasHeader($name); }
Response
__construct
__get
getBody
getData
getDataFromResponse
getHeader
getHeaderLine
getHeaders
getProtocolVersion
getReasonPhrase
getStatusCode
hasHeader
offsetExists
offsetGet
offsetSet
offsetUnset
toArray
withAddedHeader
withBody
withHeader
withProtocolVersion
withStatus
withoutHeader