K-Router 8.3

Free It is a simple Class based router Connect middleware
Rating
Your vote:
Latest version:
8.3 See all
Developer:
Kramer Electronics
Screenshots
1 / 1
Awards (1)
Show all awards
Software Informer Virus Free award
Freeware
Trusted Download
Free   6.6 MB

K-Router is a simple Class based router Connect middleware. The URLs work mostly like Expresses routing engine, it supports named and optional parameters, regex urls and can be bound to one HTTP verb at a time. It goes further than Expresses router in the following ways though:

- You always pass an instance object, followed by a function name - which allows for late binding to the functions. By converse, Express has no kind of class binding, meaning you need to manually do this.
- By specifying a URL route attached to a HTTP verb (e.g GET) all other verbs (e.g PUT POST DELETE) return 405 errors. This is how your website should behave. Also, all 405s will send a proper Allow header, saying what verbs are available.

Comments

User

Your vote: