mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 20:28:08 -06:00
ENH:optimized the retry of requests
jira:[for network optimized] Change-Id: Iea43f4a97c7cd568171287278a07689e954d1093 (cherry picked from commit 35d3de8abe63a0cba30948581ed26a8bc7f94162) (cherry picked from commit 30bad38fb979f5c5a10e4b869ec2e41fa99857f8)
This commit is contained in:
parent
569d4e6307
commit
8bb7ea7cfc
7 changed files with 156 additions and 2 deletions
|
@ -138,6 +138,9 @@ typedef std::function<void(int result, std::string info)> ResultFn;
|
|||
typedef std::function<bool()> CancelFn;
|
||||
typedef std::function<bool(std::map<std::string, std::string> info)> CheckFn;
|
||||
|
||||
//err callbacks
|
||||
typedef std::function<void(std::string url, int status)> OnServerErrFn;
|
||||
|
||||
enum SendingPrintJobStage {
|
||||
PrintingStageCreate = 0,
|
||||
PrintingStageUpload = 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue