Property | Type | Description | |
---|---|---|---|
$httpsSupport | boolean | HTTPS support enabled. |
Method | Description | |
---|---|---|
__construct ( ) | Create a traditional php client. | |
errorHandler ( integer $errno, string $errstr ) : void | Remembers last error. | |
sendRequest ( string $method, string $url, array | string $data = [], string $endpoint, chobie\Jira\Api\Authentication\AuthenticationInterface $credential, boolean $is_file = false, boolean $debug = false ) : array | string | Sends request to the API server. |
Method | Description | |
---|---|---|
doSendRequest ( string $url, array $context ) : array | Sends the request. | |
isHttpsSupported ( ) : boolean | Returns status of HTTP support. |
protected isHttpsSupported ( ) : boolean | ||
return | boolean |
public sendRequest ( string $method, string $url, array | string $data = [], string $endpoint, chobie\Jira\Api\Authentication\AuthenticationInterface $credential, boolean $is_file = false, boolean $debug = false ) : array | string | ||
$method | string | Request method. |
$url | string | URL. |
$data | array | string | Request data. |
$endpoint | string | Endpoint. |
$credential | chobie\Jira\Api\Authentication\AuthenticationInterface | Credential. |
$is_file | boolean | This is a file upload request. |
$debug | boolean | Debug this request. |
return | array | string |
protected bool $httpsSupport | ||
return | boolean |