diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-07-24 13:19:38 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-07-24 13:19:38 +0300 |
commit | 0f0b4250ca460d58edb61cc0dd509ba1980c3272 (patch) | |
tree | e8e9be30b2ec7942c4796cf93cbbd42e0c272e6a /src/gmutil.h | |
parent | dd73346aad190239ed133d0c4835dbaa05d1b0cd (diff) |
Added GmRequest for handling the request
This feels a little bit too complex, with GmRequest observing TlsRequest and then notifying its own audience. There are still some issues with cancelling requests as well.
Diffstat (limited to 'src/gmutil.h')
-rw-r--r-- | src/gmutil.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gmutil.h b/src/gmutil.h new file mode 100644 index 00000000..264ad8a8 --- /dev/null +++ b/src/gmutil.h | |||
@@ -0,0 +1,16 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include <the_Foundation/range.h> | ||
4 | #include <the_Foundation/string.h> | ||
5 | |||
6 | iDeclareType(Url) | ||
7 | |||
8 | struct Impl_Url { | ||
9 | iRangecc protocol; | ||
10 | iRangecc host; | ||
11 | iRangecc port; | ||
12 | iRangecc path; | ||
13 | iRangecc query; | ||
14 | }; | ||
15 | |||
16 | void init_Url(iUrl *d, const iString *text); | ||