Questions tagged [eiffel-web-framework]
3 questions
2
votes
2 answers
how to retreive the value of a custom header into a WSF_REQUEST
I'm looking how to get a custom header value from a received WSF_REQUEST. I read the docs quickly and didn't find the answer.
'Authorization': 'Bearer my_long_token'

Pipo
- 4,653
- 38
- 47
0
votes
1 answer
Strategy to reuse created DB_SERVICES and other instances into an EWF_APP by thread
Into my EWF_APP[EWF_APP_EXECUTION] the EWF_APP_EXECUTION inherits from WSF_FILTERED_ROUTED_EXECUTION defining setup_router.
To be able to access informations globally by thread (as far as I understand the implementation also SCOOP region in this…

Pipo
- 4,653
- 38
- 47
0
votes
1 answer
where rescue should be called in an EWF_APP to be able to close a database connection
Inheriting from WSF_FILTERED_ROUTER_EXECUTION I redefine the clean to be able to close DB Connections. But when there is an assertion failure, I don't know where to call the clean on a rescue clause. In which feature do I have to call my clean on a…

Pipo
- 4,653
- 38
- 47