Hi, I try to apply the new Raise functionality to some new code. Does this look like a correct way to use it? Trying to instantiate HttpClient and WsHttpClient in a safe way using either, catch and Raise DSL. Any feedback is appreciated.
s
simon.vergauwen
03/07/2023, 4:14 PM
Which
HttpClient
are you using? Typically you need to call some finalisers after you're done working with them. I often use
Thanks for the quick feedback. I'm using Jetty. Yes I had
ResourceScope
and
SuspendApp
in mind as well, I thought to apply that later but I may need to already think about how to structure that in a dependent way. Your examples look very nice, will try to base it on that.
s
simon.vergauwen
03/07/2023, 4:25 PM
My pleasure. Be sure to ask any question if you encounter anything weird, or have any doubts.