메소드 | 설명 | |
---|---|---|
__construct ( $apiContext ) | ||
execute ( array $handlers, string $path, string $method, string $data = '', array $headers = [] ) |
public execute ( array $handlers, string $path, string $method, string $data = '', array $headers = [] ) | ||
$handlers | array | array of handlers |
$path | string | Resource path relative to base service endpoint |
$method | string | HTTP method - one of GET, POST, PUT, DELETE, PATCH etc |
$data | string | Request payload |
$headers | array | HTTP headers |