You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are embedding deno into rust do some http filter mechanism , it's more like nginx-njs project
In order call deno, we need collect the exported js function and store on rust side. When http request comes, we call js and pass some http context to it(http request and http response object) with method on it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We are embedding deno into rust do some http filter mechanism , it's more like nginx-njs project
In order call deno, we need collect the exported js function and store on rust side. When http request comes, we call js and pass some http context to it(http request and http response object) with method on it.
There are two questions.
https://github.com/taikulawo/rust-call-deno/blob/d62f81c940d7bec4429c82111e02be44bcbd5867/src/main.rs#L51
I also read following docs, but still don't know how to do
Beta Was this translation helpful? Give feedback.
All reactions