0
votes
REST Parameter Caching
Mat DeLong
– In DataSnap XE you can specify how you wish to retrieve complex data types from a remote method invocation using REST. For example, if you had the following server method: function GetImage(Key: String; out R1: TStream): TStream; Then you could invoke it using the following URL: http://host:port/datasnap/rest/ClassName/GetImage/SomeKeyValue The problem, however, is that you will only be able to retrieve those streams as a JSON Array of bytes. If there was only one stream being returned, then you could use the "json" query parameter, setting it to false, to say you want the content of the ...
Statistics
|
Visits by Source |
User Actions |



