简体   繁体   中英

Get IP of HTTP request in Casablanca

I have a small server that listens to http requests using Casablanca / cpprestsdk. I've seen that other APIs provide this feature of retrieving client's IP, but after foraging the Internet and the sdk, well.. here I am.

Any help plz?

Merged to master a few days ago:

  • request.get_remote_address()

(ref: https://github.com/Microsoft/cpprestsdk/pull/507 )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM