aboutsummaryrefslogtreecommitdiff
path: root/shared/http/Request.scala
diff options
context:
space:
mode:
authorJakob Odersky <jakob@inpher.io>2019-10-09 17:10:43 -0400
committerJakob Odersky <jakob@inpher.io>2019-10-09 20:33:16 -0400
commit0ceee5ed4bae240b8c8e94d2fd7424d9d0b67ec7 (patch)
tree2df0258f81050e6fed51d38e217c4f6256518e12 /shared/http/Request.scala
parentfaed28c54900fc0b359700873367095f51425794 (diff)
downloadscala-triad-0ceee5ed4bae240b8c8e94d2fd7424d9d0b67ec7.tar.gz
scala-triad-0ceee5ed4bae240b8c8e94d2fd7424d9d0b67ec7.tar.bz2
scala-triad-0ceee5ed4bae240b8c8e94d2fd7424d9d0b67ec7.zip
Migrate build to mill
Diffstat (limited to 'shared/http/Request.scala')
-rw-r--r--shared/http/Request.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/shared/http/Request.scala b/shared/http/Request.scala
new file mode 100644
index 0000000..ec7d28d
--- /dev/null
+++ b/shared/http/Request.scala
@@ -0,0 +1,9 @@
+package triad
+package http
+
+case class Request(
+ method: String,
+ url: String,
+ headers: Map[String, String] = Map.empty,
+ body: Array[Byte] = Array.empty
+)