Open bung87 opened 3 years ago
https://github.com/mattaylor/whip/blob/a9fd1f04ba0167727dd0dbf9235791f708147992/whip.nim#L121-L123
var sim = my.simple[beast.httpMethod.get()] var req = initWreq(beast) if sim.hasKey(req.uri.path): return sim[req.uri.path](req)
https://github.com/mattaylor/whip/blob/a9fd1f04ba0167727dd0dbf9235791f708147992/whip.nim#L121-L123