Qore v8 Module 1.0.0
Loading...
Searching...
No Matches
TypeScriptProxy Namespace Reference

Qore TypeScriptProxy module definition. More...

Classes

class  TypeScriptProxy
 Class with proxy API methods to support clients and servers. More...
 

Variables

const PC_CALL = "CALL"
 Proxy command "CALL": make an async call and return the response.
 
const PC_SETUP_EVENT = "SETUP-EVENT"
 Proxy command "SETUP-EVENT": setup the process with the given event source.
 
const PC_RELEASE_EVENT = "RELEASE-EVENT"
 Proxy comment "RELEASE-EVENT": stop processing the given event source.
 
const PC_GET_REQUEST_TYPE = "GET-REQUEST-TYPE"
 Proxy command "GET-REQUEST-TYPE": retrieve a dynamic type based on JS calls.
 
const PC_GET_RESPONSE_TYPE = "GET-RESPONSE-TYPE"
 Proxy command "GET-RESPONSE-TYPE": retrieve a dynamic type based on JS calls.
 
const PC_GET_EVENT_TYPE = "GET-EVENT-TYPE"
 Proxy command "GET-EVENT-TYPE": retrieve a dynamic type based on JS calls.
 
const PC_EXIT = "EXIT"
 Proxy command "EXIT": exit the process.
 
const ValidCommands = ...
 Valid commands.
 
const CC_STARTED = "STARTED"
 Child response "STARTED".
 
const CC_OK = "OK"
 Child response "OK".
 
const CC_ERR = "ERR"
 Child response "ERR" when an exception occurs.
 
const CC_EVENT = "EVENT"
 Child command: "EVENT".
 
const CC_EVENT_START = "EVENT-START"
 Child commnad: "EVENT-START".
 
const CC_EVENT_TERMINATED = "EVENT-TERMINATED"
 Child command: "EVENT-TERMINATED".
 
const CC_STATUS = "STATUS"
 Child command: "STATUS".
 
const ValidResponses = ...
 Valid responses.
 

Detailed Description

Qore TypeScriptProxy module definition.

Main namespace for the TypeScriptProxy module

Variable Documentation

◆ CC_STARTED

const TypeScriptProxy::CC_STARTED = "STARTED"

Child response "STARTED".

body:

  • string pkey: the process unique hash key
  • int pid: the PID of the child process