Is it possible to access to the HTTPRequest in the worklight adapter implementation?

前端 未结 1 1138
Happy的楠姐
Happy的楠姐 2021-01-27 11:41

Is is possible somehow to access the httprequest inside the code of the adater?

The root reason for asking this is a bit tricky...

I need to know the ip of the w

相关标签:
1条回答
  • 2021-01-27 12:33

    If you're talking about httprequest from client to WL server - yes, it is possible. you have WL.Server.getClientRequest() API

    If you're talking about httprequest from WL server to backend - no, this is not possible. Adapter is used to abstract the need for direct usage of HTTP client internals.

    0 讨论(0)
提交回复
热议问题