mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-29 21:09:56 +00:00
d1f90f075f
* Initial Commit * HttpClient object shouldn't need to know about events * Add support for cancelling HTTP requests * Make the number of outstanding HTTP requests available in a state tiddler * Add a network activity button Click it to cancel outstanding requests * Fix typo Thanks @btheado Co-authored-by: btheado <brian.theado@gmail.com> * Fix crash when cancelling more than one HTTP request Thanks @saqimtiaz * Further fixes to cancelling outstanding HTTP requests * Fix missing body --------- Co-authored-by: btheado <brian.theado@gmail.com>
13 lines
497 B
Plaintext
13 lines
497 B
Plaintext
caption: tm-http-cancel-all-requests
|
|
created: 20230429161453032
|
|
modified: 20230429161453032
|
|
tags: Messages
|
|
title: WidgetMessage: tm-http-cancel-all-requests
|
|
type: text/vnd.tiddlywiki
|
|
|
|
The ''tm-http-cancel-all-requests'' message is used to cancel all outstanding HTTP requests initiated with [[WidgetMessage: tm-http-request]].
|
|
|
|
Note that the state tiddler $:/state/http-requests contains a number representing the number of outstanding HTTP requests in progress.
|
|
|
|
It does not take any parameters.
|