FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
void ConnectionLid::PostRequest
(
string
cmd
,
const string &
args
=
""
)
inline
private
Definition at line
234
of file
lidctrl.cc
.
235
{
236
cmd +=
" "
+
fSite
+
" HTTP/1.1\r\n"
237
//"Connection: Keep-Alive\r\n"
238
;
239
240
ostringstream msg;
241
msg << args.length();
242
243
cmd +=
"Content-Length: "
;
244
cmd += msg.str();
245
cmd +=
"\r\n"
;
246
247
if
(args.length()>0)
248
cmd +=
"\r\n"
+args +
"\r\n"
;
249
250
cmd +=
"\r\n"
;
251
252
//cout << "Post: " << cmd << endl;
253
PostMessage
(cmd);
254
}
Connection::PostMessage
void PostMessage(const void *msg, size_t s=0)
ConnectionLid::fSite
string fSite
Definition:
lidctrl.cc:86
ConnectionLid
Generated on Sun Sep 18 2016 20:50:45 for FACT++ by
1.8.11