ZEROSPAM\Framework\SDK\Test\Base\Data\Request\TestRequest
Class TestRequest.
Test request
Synopsis
class TestRequest
extends BaseRequest
{
- // methods
- public string routeUrl()
- 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()
Hierarchy
Methods
public
- httpType() — Type of request.
- processResponse() — Process the data that is in the response.
- routeUrl() — The url of the route.
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.
History
-
2018-09-26T16:14:50+00:00 (commit #4a46e0a)
Author: Antoine Aflalo (antoine.aflalo@zerospam.ca) / Commiter: Antoine Aflalo (antoine.aflalo@zerospam.ca)
refactor(Test): Refactor the Test Response/Test Request own namespace
-
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.