Thursday 27 February 2020

How do I make my own router?

https://gist.github.com/kkamkou/4348680I'm studying middleware, trying to make my own router(for a json restapi only). Using this as a reference.My question is: how do you make sure that requests and responses don't get confused?Scenario: App makes a get request, then it makes another one before it got the response from the first one. How do I make sure they return in the correct order?

Submitted February 27, 2020 at 12:22PM by MelkorHatedValinor

No comments:

Post a Comment