From 26caa8df244d526d7b7b8fb80ab46ff7309ee1c3 Mon Sep 17 00:00:00 2001 From: andrewlalis Date: Thu, 15 Aug 2024 19:29:13 -0400 Subject: [PATCH] Added basic types. --- .gitignore | 16 ++++++++++++++++ dub.json | 15 +++++++++++++++ source/handy_http_transport/http1/package.d | 2 ++ source/handy_http_transport/http2/package.d | 2 ++ source/handy_http_transport/interfaces.d | 7 +++++++ source/handy_http_transport/package.d | 4 ++++ 6 files changed, 46 insertions(+) create mode 100644 .gitignore create mode 100644 dub.json create mode 100644 source/handy_http_transport/http1/package.d create mode 100644 source/handy_http_transport/http2/package.d create mode 100644 source/handy_http_transport/interfaces.d create mode 100644 source/handy_http_transport/package.d diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0c6cb66 --- /dev/null +++ b/.gitignore @@ -0,0 +1,16 @@ +.dub +docs.json +__dummy.html +docs/ +/handy-http-transport +handy-http-transport.so +handy-http-transport.dylib +handy-http-transport.dll +handy-http-transport.a +handy-http-transport.lib +handy-http-transport-test-* +*.exe +*.pdb +*.o +*.obj +*.lst diff --git a/dub.json b/dub.json new file mode 100644 index 0000000..f74de59 --- /dev/null +++ b/dub.json @@ -0,0 +1,15 @@ +{ + "authors": [ + "Andrew Lalis" + ], + "copyright": "Copyright © 2024, Andrew Lalis", + "dependencies": { + "handy-http-primitives": { + "path": "../primitives" + }, + "streams": "~>3.5.0" + }, + "description": "Implementations of HTTP transport protocols.", + "license": "MIT", + "name": "handy-http-transport" +} \ No newline at end of file diff --git a/source/handy_http_transport/http1/package.d b/source/handy_http_transport/http1/package.d new file mode 100644 index 0000000..e4d6b82 --- /dev/null +++ b/source/handy_http_transport/http1/package.d @@ -0,0 +1,2 @@ +module handy_http_transport.http1; + diff --git a/source/handy_http_transport/http2/package.d b/source/handy_http_transport/http2/package.d new file mode 100644 index 0000000..6b9a709 --- /dev/null +++ b/source/handy_http_transport/http2/package.d @@ -0,0 +1,2 @@ +module handy_http_transport.http2; + diff --git a/source/handy_http_transport/interfaces.d b/source/handy_http_transport/interfaces.d new file mode 100644 index 0000000..3e03d8c --- /dev/null +++ b/source/handy_http_transport/interfaces.d @@ -0,0 +1,7 @@ +module handy_http_transport.interfaces; + +import handy_http_primitives; + +interface HttpTransport { + +} diff --git a/source/handy_http_transport/package.d b/source/handy_http_transport/package.d new file mode 100644 index 0000000..7be92a1 --- /dev/null +++ b/source/handy_http_transport/package.d @@ -0,0 +1,4 @@ +module handy_http_transport; + +public import handy_http_transport.http1; +public import handy_http_transport.http2;