... | ... | @@ -104,7 +104,7 @@ while (true) { |
|
|
std::cout << "Received request " << request->get() << std::endl;
|
|
|
|
|
|
// Reply a string to the requester.
|
|
|
request->reply("done");
|
|
|
request->reply("Done");
|
|
|
```
|
|
|
|
|
|
Like the return value, it is possible to get the request as binary data using the *getBinary()* function or method. It is also possible to reply binary data using the *replyBinary()* method or function.
|
... | ... | |