extensions.ajax

Creates an ajax call function.

mixin template extensions()
void
ajax
(
HTTPMethod method
,
string name
,
string url
,,
)

Parameters

method
Type: HTTPMethod

The method of the ajax call.

name
Type: string

The name of the call.

url
Type: string

The url of the call.

prepareFunction
Type: string

The function to call when preparing the request.

callbackFunction
Type: string

The function to call after the request has finished.

Meta