updating dependencies and code refactoring for the new changes
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user