Skip to Content
C++ Reactive Programming
book

C++ Reactive Programming

by Praseed Pai, Peter Abraham
June 2018
Intermediate to advanced
348 pages
8h 45m
English
Packt Publishing
Content preview from C++ Reactive Programming

HTTP server programming using the C++ REST SDK

We have already learned about HTTP client programming model supported by the C++ REST SDK. We worked with the asynchronous task-continuation-based API to retrieve contents of a web page and persist it into a disk file. Now, it is time to start concentrating on the REST SDK HTTP server programming. The C++ REST SDK has a listener interface that will handle HTTP requests, and we can place handlers for each type of the HTTP verbs, such as GET, PUT, POST and so on

///////////////////////////////// // A Simple Web Application with C++ REST SDK // We can use Postman Or Curl to test the Server using namespace std; using namespace web; using namespace utility; using namespace http; using namespace web::http::experimental::listener; ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Functional Programming in C++

Functional Programming in C++

Ivan Cukic

Publisher Resources

ISBN: 9781788629775Supplemental Content