feat: add a finally callback to NetworkRequests (#2350)

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
Leon Richardt
2021-01-16 18:25:56 +01:00
committed by GitHub
parent f19cc60a5b
commit 0542b81a03
6 changed files with 186 additions and 1 deletions
+1
View File
@@ -44,6 +44,7 @@ struct NetworkData {
NetworkReplyCreatedCallback onReplyCreated_;
NetworkErrorCallback onError_;
NetworkSuccessCallback onSuccess_;
NetworkFinallyCallback finally_;
NetworkRequestType requestType_ = NetworkRequestType::Get;