AbstractHttpRequest
in package
AbstractYes
Provides a raw curl request method.
Tags
Table of Contents
Methods
- httpRequest() : false|null|array<string|int, mixed>
Methods
httpRequest()
protected
httpRequest(string $method, string $baseUrl, string $endpoint[, array<string|int, mixed> $body = [] ][, array<string|int, mixed> $headers = [] ]) : false|null|array<string|int, mixed>
Parameters
- $method : string
- $baseUrl : string
- $endpoint : string
- $body : array<string|int, mixed> = []
- $headers : array<string|int, mixed> = []
Tags
Return values
false|null|array<string|int, mixed> —false may be returned also due to license problems.