PATH:
home
/
bkunreyz
/
bcmuslimgolfers.com
/
wp-content
/
plugins
/
backup
/
com
/
lib
/
Dropbox
<?php namespace Dropbox; /** * A CURLOPT_WRITEFUNCTION that will write HTTP response data to $outStream if * it's an HTTP 200 response. For all other HTTP status codes, it'll save the * output in a string, which you can retrieve it via {@link getErrorBody}. * * @internal */ class CurlStreamRelay { var $outStream; var $errorData; var $isError; function __construct($ch, $outStream) { $this->outStream = $outStream; $this->errorData = array(); $isError = null; curl_setopt($ch, CURLOPT_WRITEFUNCTION, array($this, 'writeData')); } function writeData($ch, $data) { if ($this->isError === null) { $statusCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); $this->isError = ($statusCode !== 200); } if ($this->isError) { $this->errorData[] = $data; } else { fwrite($this->outStream, $data); } return strlen($data); } function getErrorBody() { return implode($this->errorData); } }
[-] StreamReadException.php
[edit]
[-] ArrayEntryStore.php
[edit]
[-] WriteMode.php
[edit]
[-] AuthBase.php
[edit]
[-] WebAuthBase.php
[edit]
[-] CurlStreamRelay.php
[edit]
[-] WebAuthNoRedirect.php
[edit]
[-] autoload.php
[edit]
[-] OAuth1AccessToken.php
[edit]
[-] SSLTester.php
[edit]
[-] strict.php
[edit]
[-] DeserializeException.php
[edit]
[-] DropboxMetadataHeaderCatcher.php
[edit]
[-] RequestUtil.php
[edit]
[-] AppInfoLoadException.php
[edit]
[-] Curl.php
[edit]
[+]
WebAuthException
[+]
..
[-] Security.php
[edit]
[-] AppInfo.php
[edit]
[-] AuthInfoLoadException.php
[edit]
[+]
Exception
[-] HttpResponse.php
[edit]
[-] RootCertificates.php
[edit]
[-] OAuth1Upgrader.php
[edit]
[-] ValueStore.php
[edit]
[-] AuthInfo.php
[edit]
[-] Client.php
[edit]
[-] WebAuth.php
[edit]
[-] Host.php
[edit]
[-] Checker.php
[edit]
[-] Path.php
[edit]
[-] Util.php
[edit]
[+]
certs
[-] Exception.php
[edit]