Emscripten powershell build script updated to properly terminate on errors. Add in proper throws when an invalid response is given from the server. Add in function response callbacks to all server request functions.

This commit is contained in:
2024-01-02 20:58:04 -06:00
parent 497db80b9b
commit 7bfa728ccb
10 changed files with 55 additions and 24 deletions
+1 -1
View File
@@ -2565,7 +2565,7 @@ void Crawler::ResetGame(){
}
void Crawler::OnRequestCompleted(const std::string_view receivedData)const{
std::cout<<"Received in engine: "<<receivedData<<std::endl;
responseCallback(receivedData);
}
std::string operator ""_FS(const char*key,std::size_t len){