The binance depth stream must be bootstrapped with a depth snapshot, which is retrieved via an HTTP GET request
18 lines
430 B
C++
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
|