Files
spark/src/lib/io/http/HTTPRequest.cpp
T
John Colvin f9db93e41a Add simple HTTPClient
The binance depth stream must be bootstrapped with a depth snapshot,
which is retrieved via an HTTP GET request
2021-11-19 16:20:45 -05:00

18 lines
430 B
C++

#include "HTTPRequest.h"
namespace bts::io::http {
io::URL &HTTPRequest::url() { return url_; }
const io::URL &HTTPRequest::url() const { return url_; }
HTTPHeaders &HTTPRequest::headers() { return headers_; }
const HTTPHeaders &HTTPRequest::headers() const { return headers_; }
std::string &HTTPRequest::body() { return body_; }
const std::string &HTTPRequest::body() const { return body_; }
} // namespace bts::io::http