\RestLog_Middleware_Audit

RestLog middleware

Stores logs about activities in the server which are done by calling REST by clients of server.

Summary

Methods
Properties
Constants
process_response()
process_request()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$log
$time_start
$req_len
N/A

Properties

$log

$log : 

Type

$time_start

$time_start : 

Type

$req_len

$req_len : 

Type

Methods

process_response()

process_response(\Pluf_HTTP_Request  $request,   $response) : \Pluf_HTTP_Response

Records some info (in this case time of response) about provided response

Parameters

\Pluf_HTTP_Request $request

The request

$response

Returns

\Pluf_HTTP_Response

The response

process_request()

process_request(\Pluf_HTTP_Request  $request) : boolean

Parameters

\Pluf_HTTP_Request $request

Returns

boolean