Documentation

Curl extends AbstractRetriever
in package

Tries to retrieve JSON schemas from a URI using cURL library

Tags
author

Sander Coolen sander@jibber.nl

Table of Contents

$contentType  : string
Media content type
$messageBody  : mixed
__construct()  : mixed
getContentType()  : string
Get media content type
retrieve()  : mixed
{@inheritdoc}
fetchContentType()  : bool
fetchMessageBody()  : mixed

Properties

$messageBody

protected mixed $messageBody

Methods

__construct()

public __construct() : mixed
Return values
mixed

fetchContentType()

protected fetchContentType(string $response) : bool
Parameters
$response : string

cURL HTTP response

Return values
bool

Whether the Content-Type header was found or not

fetchMessageBody()

private fetchMessageBody(string $response) : mixed
Parameters
$response : string

cURL HTTP response

Return values
mixed

Search results