Vely logo Empower C
install  tutorials  examples
documentation  license  about

12.1.0 released on Sep 19, 2022

set-req



PURPOSE:


Set request data.

SYNTAX:


set-req data <data>


DESCRIPTION:


set-req sets global_request_data to be <data>, which is a pointer to any type. Internally, this pointer is saved as void*, so it can be cast to anything.

<data> can be retrieved later anywhere during a request with get-req (see "data" clause).

EXAMPLES:


my_type *mydata;
...
set-req data mydata

See global_request_data for more details and an example.

SEE ALSO:


Information ( get-app   get-req   get-sys   set-req  )  SEE ALL (documentation)



Copyright (c) 2022 DaSoftver LLC. Vely is a trademark of Dasoftver LLC. The software and information herein are provided "AS IS" and without any warranties or guarantees of any kind. Icons copyright PaweĊ‚ Kuna licensed under MIT. This web page is licensed under CC-BY-SA-4.0.