Retorna o identificador do serviço e qual é o tipo do threadpool que recebeu a requisição
getThreadPool_SvcId_TPType()
Nome | Tipo | Descrição |
---|---|---|
cRet | string | Retorna o identificador do serviço e qual é o tipo do threadpool |
#include "tlpp-core.th" #include "tlpp-rest.th" @Get('/documentation/getThreadPool_SvcId_TPType') function u_fGetThreadPool_SvcId_TPType() local cResponse := "" local cRet := oRest:getThreadPool_SvcId_TPType() if (valtype(cRet) == 'C') cResponse := '{"getThreadPool_SvcId_TPType":"' + "As informacoes do threadpool " + oRest:getThreadPoolName() + " sao: " + cRet + '"}' else cResponse := '{"getThreadPool_SvcId_TPType": "metodo getThreadPool_SvcId_TPType nao foi executado"}' endif return oRest:setResponse(cResponse)
01/2020