shawnbu
shawnbu
DDeno
Created by mostprodev on 8/17/2023 in #help
Deno Types
I get that also. Just need to return a new Response()
12 replies
DDeno
Created by shawnbu on 8/17/2023 in #help
Close a Deno.serve() connection?
Thanks so much for helping me with your answers.
Yes, at different times. I can remote send a command to do it. only thing is how to initialize server with the signal and config props at the same time (for port)
11 replies
DDeno
Created by shawnbu on 8/17/2023 in #help
Close a Deno.serve() connection?
I see. And then how to pass configs with the signal at the same time? Forgive me, I'm new to Deno and trying to figure it all how.
11 replies
DDeno
Created by shawnbu on 8/17/2023 in #help
Close a Deno.serve() connection?
Oh, I pass the signal instance into the server?
11 replies
DDeno
Created by shawnbu on 8/17/2023 in #help
Close a Deno.serve() connection?
If I have many Deno.servers going on for different ports (which is what I'm doing), how do I map a controller to a specific server?
11 replies
DDeno
Created by shawnbu on 8/17/2023 in #help
Close a Deno.serve() connection?
How would I close the connection outside the request loop?
11 replies
DDeno
Created by shawnbu on 8/17/2023 in #help
Close a Deno.serve() connection?
Oh wow! I thought I found it through unref(), this seems nicer.
11 replies
DDeno
Created by shawnbu on 8/16/2023 in #help
File differs only by case error
I'll try that next time. I'm using webstorm but if it's an ide issue it might work
7 replies
DDeno
Created by shawnbu on 8/16/2023 in #help
File differs only by case error
That's annoying because I don't have any control over it. Deno check returned the error also but I got it resovled by deleting all the files in my repo and piece by piece copy pasting the code back into empy files. Lucky I just got the repo started and there were only a few files. Once I convert all the NodeJS to Deno there will be like 1000's of files. Hopefully this won't happen often.
7 replies
DDeno
Created by shawnbu on 8/16/2023 in #help
Possible to have multiple http servers listening to different ports in the same module?
The same with serveHttp also in case I need to drop in and use that instead for some reason?
5 replies
DDeno
Created by shawnbu on 8/16/2023 in #help
Possible to have multiple http servers listening to different ports in the same module?
Awesome, thanks
5 replies