ZEROSPAM\Framework\SDK\Test\Base\Request\BindableTestRequest
Class BindableTestRequest
Test Request to test Binding URL
Synopsis
class BindableTestRequest
extends BaseRequest
{
- // members
- private $test;
- // methods
- public $this setTest()
- public $this setNiceId()
- public void setTestId()
- public void setTestEnum()
- public string baseRoute()
- public RequestType httpType()
- public IResponse processResponse()
- // Inherited methods from BaseRequest
- public $this addArgument()
- public $this removeArgument()
- public array getArguments()
- public array toArray()
- protected array blacklistedProperties()
- public UriInterface toUri()
- public final RequestType requestType()
- public array requestOptions()
- public IResponse getResponse()
- public void setResponse()
- public int tries()
- public int incrementTries()
- public array getMergeableArguments()
- // Inherited methods from IsBindable
- protected void blacklistedProperties()
- protected void addBinding()
- protected bool hasBinding()
- public void routeUrl()
- public abstract string baseRoute()
Hierarchy
Extends
Uses
Tasks
Line | Task |
---|---|
87 | Implement httpType() method. |
99 | Implement processResponse() method. |
Members
private
- $test
Methods
public
- baseRoute() — Base route without binding.
- httpType() — Type of request.
- processResponse() — Process the data that is in the response.
- setNiceId() — CAN'T OVERRIDE.
- setTest()
- setTestEnum()
- setTestId()
Inherited from ZEROSPAM\Framework\SDK\Request\Api\BaseRequest
protected
- blacklistedProperties() — List of properties to not serialize.
public
- addArgument() — Add a request argument.
- getArguments() — Get all the request arguments.
- getMergeableArguments()
- getResponse() — Getter for response.
- incrementTries() — Increment the number of tries and returns it.
- removeArgument() — Remove a request argument.
- requestOptions() — Options for this request to be used by the client.
- requestType() — Request type to use for the request.
- setResponse()
- toArray() — Get the data used for the route.
- toUri() — Return the URI of the request.
- tries() — Number of tries of the request.
Inherited from ZEROSPAM\Framework\SDK\Request\Api\IsBindable
protected
- addBinding() — Set a new binding.
- blacklistedProperties()
- hasBinding() — Is the binding set.
public
- baseRoute() — Base route without binding.
- routeUrl()
History
-
2018-07-16T14:26:38+00:00 (commit #290a97d)
Author: Antoine Aflalo (antoine.aflalo@zerospam.ca) / Commiter: Antoine Aflalo (antoine.aflalo@zerospam.ca)
feat(Response): Split Ratelimited from BaseResponse New type of response can now be easily build.