File src/class/Http/Responder.php

class Lia\Http\Responder

Processes a route, modifying the response to produce output.

Constants

Properties

  • public bool $allowExecutableFile = false; Set true to allow executable files to respond to routes. Theme name is not changed when executable is used.

Methods

  • public function __construct()
  • public function respond_to_route(\Lia\Http\Request $request, \Lia\Http\Response $response, \Lia\Http\Route $route): void
  • public function handle_php_route( \Lia\Http\Request $request, \Lia\Http\Response $response, \Lia\Http\Route $route, \Lia $lia, \Lia\AppInterface $app, string $public_dir, array $args, ): string Require a php file & return its output.