PDL_JSReply

Description

In a Plug-in handler function, returns a string value to the calling JavaScript.

Handler functions serve as interfaces between a JavaScript app and a Plug-in app. See JavaScript and Plug-in Interface for more information on how this works.

Syntax

PDL_Err PDL_JSReply(PDL_JSParameters *params, const char *reply);          

Argument Description
params This is passed to the handler function and should simply be passed on here. This type's internals are hidden from the user.
reply String reply. No limit on length.

Returns

PDL_NOERROR - Success.
PDL_ESTATE - You can not reply or throw exceptions from a polled callback.

See also: