PHP Classes

File: src/scripts/helper.lua

Recommend this page to a friend!
  Classes of walid laggoune  >  QPHP  >  src/scripts/helper.lua  >  Download  
File: src/scripts/helper.lua
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: QPHP
Exchange messages with a queue server using Swoole
Author: By
Last change:
Date: 6 months ago
Size: 193 bytes
 

Contents

Class file image Download
-- Should return string
function onReceive(data)
	local message = data.data
	return message
end

-- Should return json
function beforeEncode(data)
	local message = data.data
	return message
end
For more information send a message to info at phpclasses dot org.