Open dy opened 4 years ago
Used in context of web-server, it can provide hooks for a path handler.
function handler (req) { let [{ headers }] = useRequest('./some/path') return resp }
Used in context of web-server, it can provide hooks for a path handler.