/plugin/issuelinks/services/ |
H A D | AbstractService.php | 26 * You can query the $dokuHTTPClient for more result headers later 28 …* @param \DokuHTTPClient $dokuHTTPClient an Instance of \DokuHTTPClient which will make the request 38 …protected function makeHTTPRequest(\DokuHTTPClient $dokuHTTPClient, $url, $headers, array $data, $… argument 40 $dokuHTTPClient->headers = array_merge($dokuHTTPClient->headers ?: [], $headers); 43 $success = $dokuHTTPClient->sendRequest($url, $dataToBeSend, $method); 45 throw new HTTPRequestException('request error', $dokuHTTPClient, $url, $method); 48 if (!$success || $dokuHTTPClient->status < 200 || $dokuHTTPClient->status > 206) { 49 if ($dokuHTTPClient->status >= 500) { 50 throw new ExternalServerException('request error', $dokuHTTPClient, $url, $method); 52 throw new HTTPRequestException('request error', $dokuHTTPClient, $url, $method); [all …]
|
H A D | GitHub.service.php | 24 /** @var \DokuHTTPClient */ 25 protected $dokuHTTPClient; variable in dokuwiki\\plugin\\issuelinks\\services\\GitHub 31 $this->dokuHTTPClient = new \DokuHTTPClient(); 104 $headers = $this->dokuHTTPClient->resp_headers; 147 if ($this->dokuHTTPClient->resp_headers['x-ratelimit-remaining'] < 500) { 150 dformat($this->dokuHTTPClient->resp_headers['x-ratelimit-reset']) 157 if (empty($this->dokuHTTPClient->resp_headers['link'])) { 160 $links = $utils->parseHTTPLinkHeaders($this->dokuHTTPClient->resp_headers['link']); 261 $status = $this->dokuHTTPClient->status; 291 $status = $this->dokuHTTPClient->status; [all …]
|
H A D | GitLab.service.php | 18 protected $dokuHTTPClient; variable in dokuwiki\\plugin\\issuelinks\\services\\GitLab 27 $this->dokuHTTPClient = new \DokuHTTPClient(); 135 return $this->makeHTTPRequest($this->dokuHTTPClient, $url, $requestHeaders, $data, $method); 247 $status = $this->dokuHTTPClient->status; 267 $status = $this->dokuHTTPClient->status; 470 $headers = $this->dokuHTTPClient->resp_headers;
|
H A D | Jira.service.php | 23 protected $dokuHTTPClient; variable in dokuwiki\\plugin\\issuelinks\\services\\Jira 33 $this->dokuHTTPClient = new \DokuHTTPClient(); 155 return $this->makeHTTPRequest($this->dokuHTTPClient, $url, $requestHeaders, $data, $method);
|
/dokuwiki/inc/ |
H A D | FeedParserFile.php | 7 use dokuwiki\HTTP\DokuHTTPClient; 22 * We ignore all given parameters - they are set in DokuHTTPClient 29 $this->http = new DokuHTTPClient(); 5 use dokuwiki\HTTP\DokuHTTPClient; global() alias
|
/dokuwiki/lib/plugins/extension/helper/ |
H A D | repository.php | 13 use dokuwiki\HTTP\DokuHTTPClient; 51 $httpclient = new DokuHTTPClient(); 83 $httpclient = new DokuHTTPClient(); 120 $httpclient = new DokuHTTPClient(); 154 $httpclient = new DokuHTTPClient(); 10 use dokuwiki\HTTP\DokuHTTPClient; global() alias
|
/plugin/oauth/ |
H A D | HTTPClient.php | 5 use dokuwiki\HTTP\DokuHTTPClient; alias 22 $http = new DokuHTTPClient();
|
/plugin/gitlab/ |
H A D | syntax.php | 41 $http = new DokuHTTPClient(); 57 $http = new DokuHTTPClient();
|
/plugin/doi/Resolver/ |
H A D | IsbnOpenLibraryResolver.php | 5 use dokuwiki\HTTP\DokuHTTPClient; alias 41 $http = new DokuHTTPClient();
|
H A D | DoiResolver.php | 5 use dokuwiki\HTTP\DokuHTTPClient; alias 41 $http = new DokuHTTPClient();
|
H A D | IsbnGoogleBooksResolver.php | 5 use dokuwiki\HTTP\DokuHTTPClient; alias 50 $http = new DokuHTTPClient();
|
H A D | IsbnIsbnDeResolver.php | 5 use dokuwiki\HTTP\DokuHTTPClient; alias 27 $http = new DokuHTTPClient();
|
/plugin/sentry/ |
H A D | helper.php | 210 if (class_exists('dokuwiki\HTTP\DokuHTTPClient')) { 211 $http = new dokuwiki\HTTP\DokuHTTPClient(); 213 $http = new DokuHTTPClient();
|
/plugin/slacknotifier/ |
H A D | action.php | 11 use dokuwiki\HTTP\DokuHTTPClient; alias 141 $http = new DokuHTTPClient();
|
/plugin/oauthazure/ |
H A D | Azure.php | 5 use dokuwiki\HTTP\DokuHTTPClient; alias 52 $http = new DokuHTTPClient();
|
/plugin/blogtng/exe/ |
H A D | trackback.php | 11 use dokuwiki\HTTP\DokuHTTPClient; alias 61 $http = new DokuHTTPClient;
|
H A D | pingback.php | 13 use dokuwiki\HTTP\DokuHTTPClient; alias 69 $http = new DokuHTTPClient;
|
/plugin/aichat/Model/OpenAI/ |
H A D | GPT35Turbo.php |
|
/plugin/siteexport/inc/ |
H A D | httpproxy.php | 23 class _HTTPProxy extends DokuHTTPClient {} 24 } else if ( class_exists( "\dokuwiki\HTTP\DokuHTTPClient", true ) ) { 25 class _HTTPProxy extends \dokuwiki\HTTP\DokuHTTPClient {}
|
/plugin/sfauth/ |
H A D | helper.php | 143 $http = new DokuHTTPClient(); 231 $http = new DokuHTTPClient(); 261 $http = new DokuHTTPClient();
|
/plugin/shorty/ |
H A D | helper.php | 127 $http = new DokuHTTPClient(); 149 $http = new DokuHTTPClient();
|
/plugin/issuelinks/classes/ |
H A D | HTTPRequestException.php | 19 public function __construct($message, \DokuHTTPClient $httpClient, $url, $method)
|
/plugin/statistics/inc/ |
H A D | StatisticsBrowscap.class.php | 27 $http = new DokuHTTPClient($url);
|
/dokuwiki/inc/Sitemap/ |
H A D | Mapper.php | 13 use dokuwiki\HTTP\DokuHTTPClient; 148 $http = new DokuHTTPClient(); 11 use dokuwiki\HTTP\DokuHTTPClient; global() alias
|
/plugin/wikipediasnippet/ |
H A D | syntax.php | 78 $http = new DokuHTTPClient(); 141 $http = new DokuHTTPClient();
|