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:
+1
-1
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user