[wpiutil] Add HttpQueryMap and HttpPath/HttpPathRef (#2544)

This commit is contained in:
Peter Johnson
2020-06-27 10:47:41 -07:00
committed by GitHub
parent 629e8b41f2
commit 765f009350
3 changed files with 289 additions and 2 deletions

View File

@@ -12,6 +12,10 @@
namespace wpi {
inline HttpPathRef HttpPath::drop_front(size_t n) const {
return HttpPathRef(*this, n);
}
template <typename T>
HttpRequest::HttpRequest(const HttpLocation& loc, const T& extraParams)
: host{loc.host}, port{loc.port} {