3 ms·
I made something in the Swift 1.0 days called "swell" that shows how this might look. https://github.com/breckinloggins/Swell https://github.com/breckinloggins
by breckinloggins 11y ago
I made something in the Swift 1.0 days called "swell" that shows how this might look.
https://github.com/breckinloggins/Swell https://github.com/breckinloggins/Swell
It could be used as an example. In particular, the "builder" syntax that I did with a terrible TLS context hack could be replaced with autoclosures (I think).
Edit: more Sinatra-like than Express-like, but the idea still stands.