updating dependencies and code refactoring for the new changes

This commit is contained in:
kdeng00
2020-01-28 21:03:56 -05:00
parent 979dd66842
commit a970ba207e
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ namespace callback {
StreamCallback();
StreamCallback(const std::string&);
oatpp::data::v_io_size read(void*, oatpp::data::v_io_size);
oatpp::v_io_size read(void*, oatpp::v_io_size);
private:
std::string m_songPath;
+1 -1
View File
@@ -221,7 +221,7 @@ namespace controller {
songDb = songRepo.retrieveRecord(songDb, type::SongFilter::id);
oatpp::data::v_io_size dSize = 1024;
auto dSize = 1024;
auto db = std::make_shared<oatpp::web::protocol::http::outgoing::ChunkedBody>(
std::make_shared<callback::StreamCallback>(songDb.songPath),