examples icon indicating copy to clipboard operation
examples copied to clipboard

怎么单独为某个方法响应xml格式?

Open kissIce opened this issue 1 year ago • 1 comments

怎么单独为某个方法响应xml格式?

kissIce avatar Jun 04 '24 09:06 kissIce

怎么单独为某个方法响应xml格式?

参考:https://go-kratos.dev/docs/component/transport/http#responseencoderen-encoderesponsefunc-serveroption

XiaoK29 avatar Sep 06 '24 12:09 XiaoK29

Hi, @kissIce. I'm Dosu, and I'm helping the examples team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • You were seeking guidance on configuring a method to respond with XML format.
  • XiaoK29 provided a helpful reference link to the Go-Kratos documentation.
  • The documentation link specifically addressed HTTP transport and response encoding.

Next Steps:

  • Please confirm if this issue is still relevant to the latest version of the examples repository by commenting here.
  • If there is no further activity, this issue will be automatically closed in 7 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar Dec 06 '24 16:12 dosubot[bot]