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

feat: add OkHandler support in gateway EventHandler for HTTP responses #5070

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
guonaihong wants to merge 9 commits into zeromicro:master
base: master
Choose a base branch
Loading
from guonaihong:supports-httpx.OkHandler-callbacks

Conversation

Copy link
Contributor

@guonaihong guonaihong commented Aug 9, 2025
edited
Loading

背景:
我在使用gateway(http) -> grpc的过程中,发现httpx.SetOkHandler这个函数不生效(对立函数httpx.SetErrorHandler是好的), 经分析目前的实现中没有设置勾子函数。此pr是为了让该函数生效。

Copy link

codecov bot commented Aug 9, 2025
edited
Loading

Codecov Report

❌ Patch coverage is 86.20690% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
rest/httpx/responses.go 0.00% 4 Missing ⚠️

📢 Thoughts on this report? Let us know!

@kevwan kevwan added this to the v1.9.1 milestone Aug 16, 2025
@kevwan kevwan modified the milestones: v1.9.1, v1.9.2 Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

v1.9.2

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /