Skip to content
Rami edited this page Nov 3, 2019 · 6 revisions

Route Table

Functionalities

add(message_type, config_object)

    add new route

    Params

  1. message_type: Your message type to listen to

  2. config_object: route configuration

{
   "handler": "", // function, required"
   "validation": { // object, optional
      "schema": "" // Joi Schema, required 
   }
}

Clone this wiki locally