deleteman / vatican

Micro-framework designed to create REST APIs with minor effort
98 stars 6 forks source link

Port validate #32

Open smart--petea opened 10 years ago

smart--petea commented 10 years ago

By http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers port must be a number from range [0,65535].

Maybe to validate options.port in @checkOptions from vatican.js.