lib/RouteInfo.js
function parseHttpMethod(parts) {
    const prefix = parts[0].toLowerCase()
    if(keysMethods.indexOf(prefix) >= 0)
        return prefix
    else 
        return GET
}
function parseHttpMethod(parts) {
    const prefix = parts[0].toLowerCase()
    if(keysMethods.indexOf(prefix) >= 0)
        return prefix
    else 
        return GET
}
function parseHttpMethod ( parts ) { const prefix = parts [ 0 ] . toLowerCase ( ) if ( keysMethods . indexOf ( prefix ) >= 0 ) return prefix else return GET }
Gets the HTTP method from the Controller method name.
Otherwise returns 'get'.
Gets the HTTP method from the Controller method name . Otherwise returns get .