How to run two zap Listeners? #192
vincentjorgensen
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi! Love this project. It's working great. When I learn a new programming language, I re-implement a helloworld microservice. It serves both HTTP and (potentially) HTTPS (if a flag is set). Can I init two listeners? If not, can I run two zap instances at the same time in different threads? (I haven't looked into the threading capabilities of zig yet). I have the first version working, the HTTP only version, btw. Zap is fast! and smaller than the rust container that has the same functionality . Pretty cool!
All reactions