A

Client::addHeaders() — Method in class Client
Add Http headers to the request
Helpers::array_enqueue() — Method in class Helpers
Add a variable number of elements to the front of an array

B

BasicHandlerClass in namespace ForsakenThreads\Diplomatic
BasicFiltersClass in namespace ForsakenThreads\Diplomatic\Support

C

ClientClass in namespace ForsakenThreads\Diplomatic
CallableArgumentsPairClass in namespace ForsakenThreads\Diplomatic\Support
ClosureArgumentsPairClass in namespace ForsakenThreads\Diplomatic\Support
CurlInfoClass in namespace ForsakenThreads\Diplomatic\Support

D

Client::delete() — Method in class Client
A DELETE request
DiplomaticExceptionClass in namespace ForsakenThreads\Diplomatic\Support

F

ResponseHandler::filter() — Method in class ResponseHandler
Register a filter callback.

G

Client::get() — Method in class Client
A GET request
ResponseHandler::getCliCall() — Method in class ResponseHandler
Returns a CLI curl version of the request
ResponseHandler::getCode() — Method in class ResponseHandler
Http status code for the response
ResponseHandler::getFilteredResponse() — Method in class ResponseHandler
Get the response after it has been sent through any filters
ResponseHandler::getHeaders() — Method in class ResponseHandler
Get the Http response headers
ResponseHandler::getHtmlVersion() — Method in class ResponseHandler
Get the Http response version
ResponseHandler::getRawResponse() — Method in class ResponseHandler
Get the raw response
CallableArgumentsPair::getArguments() — Method in class CallableArgumentsPair
Get the arguments for the callable
CallableArgumentsPair::getCallable() — Method in class CallableArgumentsPair
Get the callable
ClosureArgumentsPair::getArguments() — Method in class ClosureArgumentsPair
Get the arguments for the closure
ClosureArgumentsPair::getClosure() — Method in class ClosureArgumentsPair
Get the closure
CurlInfo::getCertinfo() — Method in class CurlInfo
CurlInfo::getConnectTime() — Method in class CurlInfo
CurlInfo::getContentType() — Method in class CurlInfo
CurlInfo::getDownloadContentLength() — Method in class CurlInfo
CurlInfo::getFiletime() — Method in class CurlInfo
CurlInfo::getHeaderSize() — Method in class CurlInfo
CurlInfo::getHttpCode() — Method in class CurlInfo
CurlInfo::getLocalIp() — Method in class CurlInfo
CurlInfo::getLocalPort() — Method in class CurlInfo
CurlInfo::getNamelookupTime() — Method in class CurlInfo
CurlInfo::getPretransferTime() — Method in class CurlInfo
CurlInfo::getPrimaryIp() — Method in class CurlInfo
CurlInfo::getPrimaryPort() — Method in class CurlInfo
CurlInfo::getRedirectCount() — Method in class CurlInfo
CurlInfo::getRedirectTime() — Method in class CurlInfo
CurlInfo::getRedirectUrl() — Method in class CurlInfo
CurlInfo::getRequestHeader() — Method in class CurlInfo
CurlInfo::getRequestSize() — Method in class CurlInfo
CurlInfo::getSizeDownload() — Method in class CurlInfo
CurlInfo::getSizeUpload() — Method in class CurlInfo
CurlInfo::getSpeedDownload() — Method in class CurlInfo
CurlInfo::getSpeedUpload() — Method in class CurlInfo
CurlInfo::getSslVerifyResult() — Method in class CurlInfo
CurlInfo::getStarttransferTime() — Method in class CurlInfo
CurlInfo::getTotalTime() — Method in class CurlInfo
CurlInfo::getUploadContentLength() — Method in class CurlInfo
CurlInfo::getUrl() — Method in class CurlInfo

H

Client::head() — Method in class Client
A HEAD request
HelpersClass in namespace ForsakenThreads\Diplomatic\Support

I

Client::insecure() — Method in class Client
InterruptClass in namespace ForsakenThreads\Diplomatic
InterruptContinueClass in namespace ForsakenThreads\Diplomatic
ResponseHandler::info() — Method in class ResponseHandler
Provide access to the curlInfo property
ResponseHandler::initialize() — Method in class ResponseHandler
Called by the Client to initialize the response handler

J

BasicFilters::json() — Method in class BasicFilters
Filter that checks for valid json and decodes it as directed

O

Client::onAny() — Method in class Client
Register a callback (or anything but null) for any request result - acts as a catch-all for missing handlers
Client::onError() — Method in class Client
Register a callback (or anything but null) for an errored response
Client::onFailure() — Method in class Client
Register a callback (or anything but null) for a failed response
Client::onSuccess() — Method in class Client
Register a callback (or anything but null) for a successful response
Client::options() — Method in class Client
An OPTIONS request
SelfHandling::onError() — Method in class SelfHandling
Invoked on an errored response
SelfHandling::onFailure() — Method in class SelfHandling
Invoked on a failed response
SelfHandling::onSuccess() — Method in class SelfHandling
Invoked on a successful response

P

Client::patch() — Method in class Client
A PATCH request
Client::post() — Method in class Client
A POST request
Client::put() — Method in class Client
A PUT request

R

Client::resetHandlersAfterRequest() — Method in class Client
Set the resetHandlers property
ResponseHandlerClass in namespace ForsakenThreads\Diplomatic

S

Client::saveCall() — Method in class Client
Save the cliCall into the provided variable
Client::saveRawResponse() — Method in class Client
Save the raw response into the provided variable
Client::saveResponseCode() — Method in class Client
Save the Http code into the provided variable
Client::saveResponseHandler() — Method in class Client
Save the response handler into the provided variable
Client::saveResponseHeaders() — Method in class Client
Save the response headers into the provided variable
Client::setDestination() — Method in class Client
Set the destination
Client::setHeaders() — Method in class Client
Set the Http headers for the request
Client::setMultipart() — Method in class Client
Set whether POST data is multipart/form-data
Client::setResponseHandler() — Method in class Client
Set the response handler
Client::setUserAgent() — Method in class Client
Set the user agent string for all requests
SelfHandlingClass in namespace ForsakenThreads\Diplomatic
SimpleJsonArrayHandlerClass in namespace ForsakenThreads\Diplomatic
SimpleJsonObjectHandlerClass in namespace ForsakenThreads\Diplomatic
SimpleXmlHandlerClass in namespace ForsakenThreads\Diplomatic
BasicFilters::simpleXml() — Method in class BasicFilters
Filter that checks for valid XML and loads it as directed

T

Client::trace() — Method in class Client
A TRACE request

W

BasicHandler::wasErrored() — Method in class BasicHandler
Check to see if the response was errored
BasicHandler::wasFailed() — Method in class BasicHandler
Check to see if the response failed
BasicHandler::wasSuccessful() — Method in class BasicHandler
Check to see if the response was successful (true) or failed/errored (false)
ResponseHandler::wasErrored() — Method in class ResponseHandler
Check to see if the response was errored
ResponseHandler::wasFailed() — Method in class ResponseHandler
Check to see if the response failed
ResponseHandler::wasSuccessful() — Method in class ResponseHandler
Check to see if the response was successful (true) or failed/errored (false)
SimpleJsonArrayHandler::wasErrored() — Method in class SimpleJsonArrayHandler
Check to see if the response was errored
SimpleJsonArrayHandler::wasFailed() — Method in class SimpleJsonArrayHandler
Check to see if the response failed
SimpleJsonArrayHandler::wasSuccessful() — Method in class SimpleJsonArrayHandler
Check to see if the response was successful (true) or failed/errored (false)
SimpleJsonObjectHandler::wasErrored() — Method in class SimpleJsonObjectHandler
Check to see if the response was errored
SimpleJsonObjectHandler::wasFailed() — Method in class SimpleJsonObjectHandler
Check to see if the response failed
SimpleJsonObjectHandler::wasSuccessful() — Method in class SimpleJsonObjectHandler
Check to see if the response was successful (true) or failed/errored (false)
SimpleXmlHandler::wasErrored() — Method in class SimpleXmlHandler
Check to see if the response was errored
SimpleXmlHandler::wasFailed() — Method in class SimpleXmlHandler
Check to see if the response failed
SimpleXmlHandler::wasSuccessful() — Method in class SimpleXmlHandler
Check to see if the response was successful (true) or failed/errored (false)

_

Client::__construct() — Method in class Client
Client constructor
CallableArgumentsPair::__construct() — Method in class CallableArgumentsPair
Accepts an array of arguments, normally the result of func_get_args()
ClosureArgumentsPair::__construct() — Method in class ClosureArgumentsPair
Accepts an array of arguments, normally the result of func_get_args()