Datasnap.DSHTTP.TCustomDSRESTServerTransport.RESTContext

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property RESTContext: string read GetRESTContext write SetRESTContext stored IsRESTContextStored nodefault;

C++

__property System::UnicodeString RESTContext = {read=GetRESTContext, write=SetRESTContext, stored=IsRESTContextStored};

Properties

Type Visibility Source Unit Parent
property public
Datasnap.DSHTTP.pas
Datasnap.DSHTTP.hpp
Datasnap.DSHTTP TCustomDSRESTServerTransport

Description

Specifies the REST URL context.

The RESTContext property specifies the REST URL context, like in http://my.site.com/datasnap/rest/.... In the given example, rest denotes that the request is a REST request and that it is processed by a REST service.

See Also