luvit / lit

Toolkit for developing, sharing, and running luvit/lua programs and libraries.
http://lit.luvit.io/
Apache License 2.0
245 stars 58 forks source link

coro-http: createServer: exposing the server handle #283

Closed Bilal2453 closed 3 years ago

Bilal2453 commented 3 years ago

Since coro_net.createServer already exposes the server handle, wouldn't also make sense to do that on the coro-http side? So stuff such as closing the server (for example) can be done.

Bilal2453 commented 3 years ago

Could fix #274 as well.