Documentation

ApiRequest
in package

Table of Contents

Properties

$_body  : array<string|int, mixed>
$_headers  : array<string|int, mixed>
$_method  : string
$_path  : string
$_query  : array<string|int, mixed>
$_requestId  : string

Methods

__construct()  : mixed
ApiRequest constructor.
body()  : array<string|int, mixed>
headers()  : array<string|int, mixed>
method()  : string
path()  : string
query()  : array<string|int, mixed>
requestId()  : mixed
toJson()  : mixed

Properties

$_body

protected array<string|int, mixed> $_body = []

$_headers

protected array<string|int, mixed> $_headers = []

$_query

protected array<string|int, mixed> $_query = []

Methods

__construct()

ApiRequest constructor.

public __construct([array<string|int, mixed> $options = [] ]) : mixed
Parameters
$options : array<string|int, mixed> = []

body()

public body() : array<string|int, mixed>
Return values
array<string|int, mixed>

headers()

public headers() : array<string|int, mixed>
Return values
array<string|int, mixed>

method()

public method() : string
Return values
string

path()

public path() : string
Return values
string

query()

public query() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results