I only see how to return JSON objects from methods. I'd like to return an image (preferably: a list of images). I can send base64 encoded bytes, but that's sort of tedious.
Suggestions?
I'm looking at ways to tweak invokeActor to use res.sendFile() but all the approaches I see look awkward.
I only see how to return JSON objects from methods. I'd like to return an image (preferably: a list of images). I can send base64 encoded bytes, but that's sort of tedious.
Suggestions?
I'm looking at ways to tweak
invokeActorto useres.sendFile()but all the approaches I see look awkward.