summaryrefslogtreecommitdiff
path: root/src/mongo/util/net/miniwebserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/net/miniwebserver.h')
-rw-r--r--src/mongo/util/net/miniwebserver.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/mongo/util/net/miniwebserver.h b/src/mongo/util/net/miniwebserver.h
index fa026e6711d..b9d8c77b286 100644
--- a/src/mongo/util/net/miniwebserver.h
+++ b/src/mongo/util/net/miniwebserver.h
@@ -44,15 +44,14 @@ public:
MiniWebServer(const std::string& name, const std::string& ip, int _port);
virtual ~MiniWebServer() {}
- virtual void doRequest(
- const char* rq, // the full request
- std::string url,
- // set these and return them:
- std::string& responseMsg,
- int& responseCode,
- std::vector<std::string>&
- headers, // if completely empty, content-type: text/html will be added
- const SockAddr& from) = 0;
+ virtual void doRequest(const char* rq, // the full request
+ std::string url,
+ // set these and return them:
+ std::string& responseMsg,
+ int& responseCode,
+ std::vector<std::string>& headers, // if completely empty, content-type:
+ // text/html will be added
+ const SockAddr& from) = 0;
// --- static helpers ----