Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

server context #27

Open
dy opened this issue Jan 1, 2020 · 0 comments
Open

server context #27

dy opened this issue Jan 1, 2020 · 0 comments

Comments

@dy
Copy link
Owner

dy commented Jan 1, 2020

Used in context of web-server, it can provide hooks for a path handler.

function handler (req) {
  let [{ headers }] = useRequest('./some/path')

  return resp
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant