We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36abe4a commit 525191eCopy full SHA for 525191e
1 file changed
src/common/HTTPRequest.h
@@ -8,14 +8,6 @@
8
class HTTPRequest
9
{
10
public:
11
- typedef std::function<Connection *()> ConnectionFactory;
12
- HTTPRequest(ConnectionFactory factory);
13
-
14
- HTTPSClient::Reply request(const HTTPSClient::Request &req);
15
16
-private:
17
- ConnectionFactory factory;
18
19
struct DissectedURL
20
21
bool valid;
@@ -25,6 +17,14 @@ class HTTPRequest
25
std::string query;
26
// TODO: Auth?
27
};
+ typedef std::function<Connection *()> ConnectionFactory;
+
22
+ HTTPRequest(ConnectionFactory factory);
23
24
+ HTTPSClient::Reply request(const HTTPSClient::Request &req);
+ static DissectedURL parseUrl(const std::string &url);
28
29
- DissectedURL parseUrl(const std::string &url);
+private:
+ ConnectionFactory factory;
30
0 commit comments