* @template-extends Response> */ class TooManyRequestsResponse extends Response { /** * @param S $status * @param H $headers * @since 19.0.0 */ public function __construct(int $status = Http::STATUS_TOO_MANY_REQUESTS, array $headers = []) { parent::__construct($status, $headers); $this->setContentSecurityPolicy(new ContentSecurityPolicy()); } /** * @return string * @since 19.0.0 */ public function render() { $template = new Template('core', '429', 'blank'); return $template->fetchPage(); } } svg.jswww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/src/defs.js
blob: 48a8f28571f1bce6d9b7c07ced7eb17aa12b992f (plain)
1
2
3
4
5
6
7
8
9