Datasnap.DSHTTP.TDSHTTPService.RESTContext
| [–] Properties | |
|---|---|
| Type: property | |
| Visibility: published | |
| Source: Datasnap.DSHTTP.pas Datasnap.DSHTTP.hpp
| |
| Unit: Datasnap.DSHTTP | |
| Parent: TDSHTTPService | |
Delphi
property RESTContext;
C++
__property RESTContext;
Description
Specifies the REST URL context.
Datasnap.DSHTTP.TDSHTTPService.RESTContext inherits from Datasnap.DSHTTP.TCustomDSRESTServerTransport.RESTContext. All content below this line refers to Datasnap.DSHTTP.TCustomDSRESTServerTransport.RESTContext.
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.