Code Monkey home page Code Monkey logo

http_proto's Introduction

Boost.Http.Proto

Branch master develop

Docs

Documentation

Documentation

GitHub Actions

CI

CI

Drone

Build Status

Build Status

Codecov

codecov

codecov

Boost.Http.Proto

This is currently NOT an official Boost library.

Overview

Boost.Http.Proto is a portable, low-level C++ library which provides containers and algorithms for implementing the HTTP/1.1 protocol described in the document Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing, henceforth referred to as rfc7230.

Boost.Http.Proto offers these features:

  • Require only C++11

  • Works without exceptions

  • Fast compilation, no templates

  • Strict compliance with rfc7230

Requirements

  • Requires Boost and a compiler supporting at least C++11

  • Aliases for standard types use their Boost equivalents

  • Link to a built static or dynamic Boost library, or use header-only (see below)

  • Supports -fno-exceptions, detected automatically

Header-Only

To eliminate the requirement to link a program to a static or dynamic Boost.Http.Proto library, simply place the following line in exactly one source file in your project.

#include <boost/http_proto/src.hpp>

Embedded

Boost.HTTP.Proto works great on embedded devices. It is designed to work without exceptions if desired.

Supported Compilers

Boost.Http.Proto has been tested with the following compilers:

  • clang: 3.8, 4, 5, 6, 7, 8, 9, 10, 11, 12

  • gcc: 5, 6, 7, 8, 9, 10, 11, 12

  • msvc: 14.0, 14.1, 14.2, 14.3

Quality Assurance

The development infrastructure for the library includes these per-commit analyses:

  • Coverage reports

  • Benchmark performance comparisons

  • Compilation and tests on Drone.io, Azure Pipelines, Appveyor

  • Fuzzing using clang-llvm and machine learning

Visual Studio Solution Generation

cmake -G "Visual Studio 17 2022" -A win32 -B bin -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE="C:/Users/vinnie/src/boost/libs/http_proto/cmake/toolchains/msvc.cmake"
cmake -G "Visual Studio 17 2022" -A x64 -B bin64 -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE="C:/Users/vinnie/src/boost/libs/http_proto/cmake/toolchains/msvc.cmake"

License

Distributed under the Boost Software License, Version 1.0. (See accompanying file [LICENSE_1_0.txt](LICENSE_1_0.txt) or copy at https://www.boost.org/LICENSE_1_0.txt)

http_proto's People

Contributors

alandefreitas avatar ashtum avatar cmazakas avatar glywk avatar sdarwin avatar vinniefalco avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

alandefreitas

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.