Skip to content

Conversation

@baywet
Copy link
Member

@baywet baywet commented Nov 8, 2021

Fixes #343

Adds support for cancelling the request

var  future = graphClient.me().messages().buildRequest().getAsync();
future.cancel(true);

Should cancel the outgoing request.

@oprobst88 would you mind giving it a try before we merge it please?

@ramsessanchez would you mind doing some testing as well please? and when this gets merged, could you replicate into kiota http lib?

@baywet baywet added this to the 2.0.10 milestone Nov 8, 2021
@baywet baywet self-assigned this Nov 8, 2021
@baywet baywet mentioned this pull request Nov 8, 2021
@baywet baywet enabled auto-merge November 8, 2021 16:35
@baywet baywet force-pushed the feature/cancellable branch from e206615 to d00b2db Compare November 11, 2021 20:37
@baywet baywet requested a review from ramsessanchez November 15, 2021 13:38
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

87.5% 87.5% Coverage
0.0% 0.0% Duplication

@baywet baywet merged commit 73afac6 into dev Nov 16, 2021
@baywet baywet deleted the feature/cancellable branch November 16, 2021 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stop Get Request

3 participants