Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[HttpClient] add $response->cancel()#31831

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:4.4fromnicolas-grekas:hc-cancel
Jun 4, 2019

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?4.4
Bug fix?no
New feature?yes
BC breaks?yes
Deprecations?no
Tests pass?yes
Fixed tickets-
LicenseMIT
Doc PR-

(BC break allowed by the@experimental annotation)

Canceling a response is already possible but requires registering a progress function and throwing an exception from it. This new method aims at making this much simpler.

/cc@jderusse as we discussed this on Slack.

jderusse reacted with heart emoji
@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commit549930e intosymfony:4.4Jun 4, 2019
fabpot added a commit that referenced this pull requestJun 4, 2019
This PR was merged into the 4.4 branch.Discussion----------[HttpClient] add $response->cancel()| Q             | A| ------------- | ---| Branch?       | 4.4| Bug fix?      | no| New feature?  | yes| BC breaks?    | yes| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -(BC break allowed by the `@experimental` annotation)Canceling a response is already possible but requires registering a progress function and throwing an exception from it. This new method aims at making this much simpler./cc@jderusse as we discussed this on Slack.Commits-------549930e [HttpClient] add $response->cancel()
fabpot added a commit that referenced this pull requestJun 5, 2019
This PR was merged into the 4.3 branch.Discussion----------[HttpClient] add $response->cancel()| Q             | A| ------------- | ---| Branch?       | 4.3| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        |symfony/symfony-docs#11668An alternative to#31845 and#31842.Same as#31831 but considered as a bug fix (at the Contracts level), thus for 4.3.I think we're early enough since 4.3/1.1 to do it.That will save us some headaches in the short term.Commits-------c402418 [HttpClient] add $response->cancel()
@nicolas-grekasnicolas-grekas modified the milestones:next,4.4Oct 27, 2019
This was referencedNov 12, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

3 participants

@nicolas-grekas@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp