Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: HttpResponse Handle(HttpRequest, TApi)

Declaration

public HttpResponse Handle(
    HttpRequest req,
    TApi api
)

Summary

Provides the handler for AJAX calls. Pass this to a UrlMapping.

Parameters

HttpRequestreq The incoming HTTP POST request to be handled, containing the API function name and parameters.
TApiapi The API object on which the API function is to be invoked.