UrlFetch
class UrlFetch (View source)
Methods
fetch(string $url, string $requestMethod = 'GET', array $headers = [], string $payload = '', bool $allowTruncated = true, bool $followRedirects = true, float $deadline = 0.0, bool $validateCertificate = false)
Fetches a URL.
Details
at line 122
URLFetchResponse
fetch(string $url, string $requestMethod = 'GET', array $headers = [], string $payload = '', bool $allowTruncated = true, bool $followRedirects = true, float $deadline = 0.0, bool $validateCertificate = false)
Fetches a URL.