How an adapter can get requested URL?
Created by Alex Rousskov
- Keywords:
- Last updated by:
- Alex Rousskov
libecap:
libecap:
Once you have the request message, you can access its Request-URI via the firstLine() method:
libecap::Area uri;
typedef const libecap:
if (CLRLP requestLine = dynamic_
uri = requestLine->uri();
else
if (CLRLP requestLine = dynamic_
uri = requestLine->uri();
The above working example handles both REQMOD and RESPMOD and is taken from the Adapter: