class Client
Properties
| protected MiddlewarePipeInterface | $pipe |
|
||
| protected User | $actor |
|
||
| protected ServerRequestInterface | $parent |
|
||
| protected array | $queryParams |
|
||
| protected array | $body |
|
Methods
ResponseInterface
send(string $method, string $path)
Execute the given API action class, pass the input and return its response.
Details
at
line 51
__construct(MiddlewarePipeInterface $pipe)
at
line 61
Client
withActor(User $actor)
Set the request actor.
This is not needed if a parent request is provided. It can, however, override the parent request's actor.
at
line 93
ResponseInterface
get(string $path)
at
line 98
ResponseInterface
post(string $path)
at
line 103
ResponseInterface
put(string $path)
at
line 108
ResponseInterface
patch(string $path)
at
line 113
ResponseInterface
delete(string $path)
at
line 127
ResponseInterface
send(string $method, string $path)
Execute the given API action class, pass the input and return its response.