Stiffstream / restinio

Cross-platform, efficient, customizable, and robust asynchronous HTTP(S)/WebSocket server C++ library with the right balance between performance and ease of use
Other
1.15k stars 93 forks source link

Using restinio as http client #88

Closed atari83 closed 4 years ago

atari83 commented 4 years ago

Hello there, Please excuse me for this basic question, Could restinio be used as http client ? My case is to expose a http server to process incoming requests, but also my application has to generate some requests to different web servers as well.

Thanks

eao197 commented 4 years ago

No, RESTinio is server-only library.

As an example of the usage of RESTinio for receiving of incoming HTTP requests and libcurl for issuing of outgoing requests, you can see this post.

atari83 commented 4 years ago

Great, thank you very much :)