process_request()
process_request(\Pluf_HTTP_Request $request) : boolean
Parameters
\Pluf_HTTP_Request | $request |
Returns
boolean —false if ther is no problem otherwize ther is an error
If the request points to a resource with get, then the resource is returned as response.
There is no need to check secureity access for a resource, this middleware check the request and return the resource if the request is GET.
There are two types of resources:
This middleware support both of them
process_response(\Pluf_HTTP_Request $request, \Pluf_HTTP_Response $response)
\Pluf_HTTP_Request | $request | |
\Pluf_HTTP_Response | $response |
findTenantResource(string $path) : \Tenant_Resource
Finds tenant resource with path
string | $path | of the resource |
the resource