summaryrefslogtreecommitdiff
path: root/src/Request.php
blob: 9b4bd5d0fb96df28e8441082dd7450a89c063d2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

declare(strict_types=1);

namespace TCB;

final class Request
{
    public function __construct(
        public readonly string $method,
        public readonly string $path,
        public readonly string $httpVersion,
        public readonly array $headers,
        public readonly array $params,
        public readonly string $body,
    ) {}
}