Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Sealed class: RT.Servers.AjaxHandler<TApi>

Summary

Provides a means to call methods decorated with an AjaxMethodAttribute via AJAX, using JSON as the data interchange format.

Generic type parameters

TApi Type of the object containing the Ajax methods to use.

Constructors

Constructs a new instance of AjaxHandler<TApi>.

Instance methods

HttpResponse
Handle(HttpRequest req, TApi api)
Provides the handler for AJAX calls. Pass this to a UrlMapping.