rte
HTTP path routing, parameter extraction, route matching.
Load with: use rte
Quick example
use rte
result = rtejp("value", "value")
prn(result)
Functions
Router
rtemk()
Creates a new instance.
rtejp(a, b)
Performs the operation. Takes a, b.
rteesc(seg)
Performs the operation. Takes seg.
rtepat(pth)
Performs the operation. Takes pth.
rtere(r, mth, pth, hdl)
Performs the operation. Takes r, mth, pth, hdl.
rtegt(r, p, h)
Performs the operation. Takes r, p, h.
rtepo(r, p, h)
Performs the operation. Takes r, p, h.
rtepu(r, p, h)
Performs the operation. Takes r, p, h.
rtede(r, p, h)
Decodes. Takes r, p, h.
rtepa(r, p, h)
Parses. Takes r, p, h.
rtehe(r, p, h)
Performs the operation. Takes r, p, h.
rteop(r, p, h)
Opens a connection or resource. Takes r, p, h.
rteal(r, p, h)
Performs the operation. Takes r, p, h.
rtepr(r, px)
Processes or prints. Takes r, px.
rteco(r, pname, pred)
Connects. Takes r, pname, pred.
rtefb(r, h)
Performs the operation. Takes r, h.
rtmat(r, req)
Performs the operation. Takes r, req.
rteto(r)
Converts to another format. Takes r.
rtemo(parent, px, child)
Performs the operation. Takes parent, px, child.
Notes
- Router - URL pattern matching, middleware chain, handler dispatch.