2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +03:00

Add explanation of cancel token (#3803)

Thanks to @socketpair for testing and checking this.
This commit is contained in:
Jay
2021-05-18 09:08:20 +02:00
committed by GitHub
parent 69949a6c16
commit 3958e9fbc8
+1
View File
@@ -727,6 +727,7 @@ cancel();
```
> Note: you can cancel several requests with the same cancel token.
> If a cancellation token is already cancelled at the moment of starting an Axios request, then the request is cancelled immediately, without any attempts to make real request.
## Using application/x-www-form-urlencoded format