Add simple HTTPClient
The binance depth stream must be bootstrapped with a depth snapshot, which is retrieved via an HTTP GET request
This commit is contained in:
1 parent
6573985bea
commit
f9db93e41a
17 files changed
+835
No files matched your search
@@ -0,0 +1,17 @@
|
||||
#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
|
||||
Reference in new issue
Block a user