function(route) {
  if (!route) {
    return null;
  }
  var idx = route.indexOf('.');
  if (idx < 0) {
    return null;
  }
  return route.substring(0, idx);
}
function(route) {
  if (!route) {
    return null;
  }
  var idx = route.indexOf('.');
  if (idx < 0) {
    return null;
  }
  return route.substring(0, idx);
}
function ( route ) { if ( ! route ) { return null ; } var idx = route . indexOf ( '.' ) ; if ( idx < 0 ) { return null ; } return route . substring ( 0 , idx ) ; }
Get server type form request message.
Get server type form request message .
Get the route name from the route string