Skip to content
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

apisix-go-plugin-runner 如何获取请求进来接口的 host #162

Open
qingconglaixueit opened this issue Aug 20, 2024 · 1 comment
Open

Comments

@qingconglaixueit
Copy link

Issue description

Environment

apisix-go-plugin-runner 如何获取请求进来接口的 host

  • APISIX Go Plugin Runner's version:0.0.5
  • APISIX version:2.15.0
  • Go version:1.20
  • OS (cmd: uname -a):
@linzeyan
Copy link

pkgHTTP.Request.Header().Get("Host")
這樣應該行

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

No branches or pull requests

2 participants