2 #include "NPLMsgHeader.h" 17 int npl_version_major;
18 int npl_version_minor;
44 bool IsNPLFileActivation()
46 return (method.size() > 0 && (((byte)(method[0])) > 127 || method ==
"A"));
std::vector< NPLMsgHeader > headers
optional headers
Definition: NPLMsgIn.h:21
std::string method
in request this is "A", "GET"; in HTTP response, this is "HTTP/1.1"
Definition: NPLMsgIn.h:11
std::string m_code
msg body
Definition: NPLMsgIn.h:26
define this to enable debugging of NPL code in visual studio
Definition: INPL.h:9
int m_nLength
number of bytes in m_code
Definition: NPLMsgIn.h:24
std::string m_filename
NPL or Dll file name (uri); in http response this is "OK", "error".
Definition: NPLMsgIn.h:15
A incoming or outgoing connection.
Definition: NPLConnection.h:30
A NPL msg received from a socket.
Definition: NPLMsgIn.h:8
std::string m_rts_name
NPL runtime state name.
Definition: NPLMsgIn.h:13
CNPLConnection * m_pConnection
the connection object from which this message is received.
Definition: NPLMsgIn.h:29