summaryrefslogtreecommitdiff
path: root/src/Request.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Request.php')
-rw-r--r--src/Request.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Request.php b/src/Request.php
new file mode 100644
index 0000000..9b4bd5d
--- /dev/null
+++ b/src/Request.php
@@ -0,0 +1,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,
+ ) {}
+}