HyronService

Used to pack routers that can be used by hyron to register routers

interface HyronService

Details

inteface HyronService

Used to define a service that was controlled by Hyron. Create class that implement this, and declare it in hyron.enableServices to use

function requestConfig

Used to declared information about method that could be used to register event listener

★ Params

static requestConfig() : ServicesMeta

(empty)

Return

type

description

ServicesMeta

a object that contain descriptions about routes

var $config

this.$config : object

return config of this service. It could be use inside every plugins & main-handler declared in this service

var $requestConfig

this.$requestConfig : RouterMeta

get to requestConfig for this router, or undefined if this executer has not been declared

var $executer

this.$executer : Function

get to executer for this router, or undefined if this executer has not been declared

var $eventName

this.$eventName : string

get to event name for this router, or undefined if this executer has not been declared