Smalldb-REST  v0.2
Public Member Functions | Protected Attributes | List of all members
Router Class Reference

Interpret HTTP request data and call handler. More...

Public Member Functions

 __construct ($config, IHandler $handler)
 Constructor.
 
 handle ($server, $get, $post)
 Interpret the HTTP request.
 

Protected Attributes

 $handler
 Handler to invoke.
 

Detailed Description

Interpret HTTP request data and call handler.