Suppose I have simple endpoint:
[HttpGet]
public async Task<ActionResult<string>> Get(CancellationToken cancellationToken)
{
// something...
}
And I send some http request via Angular: let sub = this.http.get<string>("some url").subscribe() and then before getting response from backend I unsubscribe: sub.unsubscribe()
My question is:
How come cancellationToken on backend have IsCancellationRequested set on true, even though when I monitor outgoing http request there are no more http requests passed to backend?