firemonkey - Delphi EMS FireDAC: How do I access TEndpointRequest Params through their Index instead of the Name? -
i working on delphi ems resource client firedac application.
for example, if passing 2 params client server. in server side, can access value of params through names ('item1', 'item2'). instead of accessing params through name, need access through index.
existing server implementation:
procedure tresource.getitem(const acontext: tendpointcontext; const arequest: tendpointrequest; const aresponse: tendpointresponse); var litem1, litem2: string; begin litem1 := arequest.params.values['item1']; litem2 := arequest.params.values['item2']; end;
using dataset can access params using list index (just example),
for := 0 count-1 begin fdquery.params[i].value; end;
how can arequest.params?
i waiting solutions.
thanks in advance.
Comments
Post a Comment