aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-11-18 14:18:45 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-11-19 08:35:03 +0900
commitaf0c8135afce32d9e06cc2446d9c675693d2c5fb (patch)
tree3f75c0a72225b87c2b15144f178437cc79298ff5 /lib/connection.h
parent06edc1033427ca96f03954d810aef33e5c940597 (diff)
downloadlibquotient-af0c8135afce32d9e06cc2446d9c675693d2c5fb.tar.gz
libquotient-af0c8135afce32d9e06cc2446d9c675693d2c5fb.zip
BaseJob::rawDataSample()
A new recommended (and localisable) way of getting a piece of raw response to display next to error messages as "details". BaseJob::rawData() returns exactly the trimmed piece of data, no "truncated" suffix there anymore.
Diffstat (limited to 'lib/connection.h')
-rw-r--r--lib/connection.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/connection.h b/lib/connection.h
index b06fb143..20dade76 100644
--- a/lib/connection.h
+++ b/lib/connection.h
@@ -519,7 +519,7 @@ namespace QMatrixClient
* a successful login and logout and are constant at other times.
*/
void stateChanged();
- void loginError(QString message, QByteArray details);
+ void loginError(QString message, QString details);
/** A network request (job) failed
*
@@ -537,11 +537,11 @@ namespace QMatrixClient
* @param retriesTaken - how many retries have already been taken
* @param nextRetryInMilliseconds - when the job will retry again
*/
- void networkError(QString message, QByteArray details,
+ void networkError(QString message, QString details,
int retriesTaken, int nextRetryInMilliseconds);
void syncDone();
- void syncError(QString message, QByteArray details);
+ void syncError(QString message, QString details);
void newUser(User* user);