danielgtaylor / huma

Huma REST/HTTP API Framework for Golang with OpenAPI 3.1
https://huma.rocks/
MIT License
1.71k stars 134 forks source link

Any sample code to get http.Request.RemoteAddr in huma.context #445

Closed minhphuong0401 closed 2 months ago

minhphuong0401 commented 2 months ago

I am using the standard http.ServeMux router and I want to get the RemoteAddress of the client. However, I am not able to get this field from huma.Context. Is there any way to get it?