https://github.com/corvusoft/restless
Corvusoft's Restless framework brings asynchronous RESTful client functionality to C++11 applications. http://www.corvusoft.co.uk
https://github.com/corvusoft/restless
Last synced: 4 months ago
JSON representation
Corvusoft's Restless framework brings asynchronous RESTful client functionality to C++11 applications. http://www.corvusoft.co.uk
- Host: GitHub
- URL: https://github.com/corvusoft/restless
- Owner: Corvusoft
- License: other
- Created: 2016-11-10T03:12:38.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-05-20T20:46:27.000Z (about 8 years ago)
- Last Synced: 2025-05-07T21:40:00.426Z (about 1 year ago)
- Language: C++
- Size: 178 KB
- Stars: 19
- Watchers: 3
- Forks: 5
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Restless [](https://travis-ci.org/Corvusoft/restless)
=============================================================================================================================
---
Restless is a comprehensive and consistent programming model for building applications that require seamless and secure communication over HTTP, with the ability to model a range of business processes and production environments.
Example
-------
```C++
#include
#include
#include
#include
#include
using std::shared_ptr;
using std::error_code;
using std::make_shared;
using corvusoft::restless::Session;
using corvusoft::restless::Request;
using corvusoft::restless::Response;
auto session = make_shared< Session >( );
session->open( "www.corvusoft.co.uk", 80, [ ]( auto session, auto status )
{
auto request = make_shared< Request >( );
request->set_version( 1.1 );
request->set_path( "/" );
request->set_method( "GET" );
request->set_protocol( "HTTP" );
session->send( request, [ ] ( auto session, auto response, auto status )
{
//Process response...
return error_code( );
} );
return error_code( );
} );
```
License
-------
© 2013-2018 Corvusoft Limited, United Kingdom. All rights reserved.
The Restless framework is dual licensed; See [LICENSE](LICENSE) for full details.
Support
-------
Please contact sales@corvusoft.co.uk, for support and licensing options including bespoke software development, testing, design consultation, training, mentoring and code review.
Build
-----
```bash
git clone --recursive https://github.com/corvusoft/restless.git
./restless/build/all.sh
```
You will now find all required components installed in the distribution folder.
Please submit all enhancements, proposals, and defects via the [issue](http://github.com/corvusoft/restless/issues) tracker; Alternatively ask a question on [StackOverflow](http://stackoverflow.com/questions/ask) tagged [#restless](http://stackoverflow.com/questions/tagged/restless).
Documentation
-------------
This codebase is intended to be as self documenting as possible. We have supplied many [examples](https://github.com/corvusoft/restless/tree/master/example) and [test suites](https://github.com/corvusoft/restless/tree/master/test) to help aid developers.
We are currently working on textual API documentation, however it's subject to erratic and frequent alteration; you've been warned.
Minimum Requirements
--------------------
| Resource | Requirement |
|:--------:|:-----------------------------------------------:|
| Compiler | C++14 compliant or above |
Contact
-------
| Method | Description |
|:--------------------------------------------|:--------------------------------------------|
| [Twitter](http://www.twitter.com/corvusoft) | Tweet us your questions & feature requests. |
| support@corvusoft.co.uk | Support related queries. |
| sales@corvusoft.co.uk | Sale related queries. |