W3cubDocs

/Haxe

Dispatch

package haxe.web

Available on all platforms

Constructor

new (url:String, params:Map<String, String>)

Variables

cfg:DispatchConfig

name:String

params:Map<String, String>

parts:Array<String>

Methods

dispatch (obj:{}):Void

getParams ():Dynamic

dynamic onMeta (v:String, args:Null<Array<Dynamic>>):Void

redirect (url:String, ?params:Map<String, String>):Void

runtimeDispatch (cfg:DispatchConfig):Void

runtimeGetParams (cfgIndex:Int):Dynamic

Static methods

static dynamic checkMeta (f:ClassField):Void

Available on macro

static getRunParam (i:Int):Unknown

Available on macro

static make (obj:{}):DispatchConfig

static run (url:String, params:Map<String, String>, obj:{}):Void

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/web/Dispatch.html