Difference between revisions for Users / Eo Ny / dev




← Previous edit
Next edit →

Version1 Version2
1 == HTTP Class Technical Documentation == 1 == HTTP Class Technical Documentation ==
2 2
    3 {{toc numerate=1}}
3 === Overview === 4 === Overview ===
4 5
5 The ##Http## class (##src/class/http.php##) is a core component of the WackoWiki system responsible for handling HTTP request/response processing, session management, caching, and security features. This class acts as a bridge between the web server and the wiki engine. 6 The ##Http## class (##src/class/http.php##) is a core component of the WackoWiki system responsible for handling HTTP request/response processing, session management, caching, and security features. This class acts as a bridge between the web server and the wiki engine.
572 573
573 === Workflow Examples === 574 === Workflow Examples ===
574 575
575 ==== Example 1: Handling a GET Request ==== 576 ====Example 1: Handling a GET Request====
576 577
577 %%php 578 %%(hl php)
578 // In main wiki entry point 579 // In main wiki entry point
579 $http = new Http($db); 580 $http = new Http($db);
580 $http->session(0); // Start session 581 $http->session(0); // Start session