Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Powerize router processing #3

Open
fulldump opened this issue Feb 12, 2016 · 0 comments
Open

Powerize router processing #3

fulldump opened this issue Feb 12, 2016 · 0 comments

Comments

@fulldump
Copy link
Owner

The main idea is that each node process the entire pending path and consume a part of a url, for example:
GET /one/two/three/do

Imagine an API with the following nodes:
/ -> one -> path -> do

  1. The node one receives /one/two/three/do and consumes /one
  2. The node path receives /two/three/do and consumes /two/three
  3. The node do receives /do and consumes /do
  4. All the url has been consumed, so the framework executed the method 'GET' for that node

NOTE: this feature changes the way urls are processed, can introduce border cases to treat and can affect the performance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant