Skip to content

Corvusoft's Restless framework brings asynchronous RESTful client functionality to C++11 applications. http://www.corvusoft.co.uk

License

Notifications You must be signed in to change notification settings

Corvusoft/restless

Repository files navigation

Restless Build Status


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

#include <memory>
#include <system_error>

#include <corvusoft/restless/session.hpp>
#include <corvusoft/restless/request.hpp>
#include <corvusoft/restless/response.hpp>

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 for full details.

Support

Please contact [email protected], for support and licensing options including bespoke software development, testing, design consultation, training, mentoring and code review.

Build

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 tracker; Alternatively ask a question on StackOverflow tagged #restless.

Documentation

This codebase is intended to be as self documenting as possible. We have supplied many examples and test suites 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 Tweet us your questions & feature requests.
[email protected] Support related queries.
[email protected] Sale related queries.

About

Corvusoft's Restless framework brings asynchronous RESTful client functionality to C++11 applications. http://www.corvusoft.co.uk

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published