How do you pass additional parameters to the request interceptor before or after functions?
Solved! Go to Solution.
If not, it would be easier to have a simplified repro case to diagnose. I'd like to see how you are currently using bind.
@RobertScheitlin__GISP - I'm not sure I understand. Are you asking for how to send two or more parameters to the before/after functions?
Noah,
The issue I am having is that the scope of the inteceptor before or after functions have no access to vars or any scope outside the function. So I have tried .bind(this) and every other trick I am aware of. So I am wondering if you can pass an additional parameter or bind to the outside scope of the function.
Robert
Ok, I think I understand better now. I don't know an answer off the top of my hand, but I will look into it.
If not, it would be easier to have a simplified repro case to diagnose. I'd like to see how you are currently using bind.
Noah,
That works prefect for me. Thanks.