Make Pistache REUSE compliant

Reuse is a specification that aims at making licensing of open source
software easier. You basically have to include an SPDX header in all
files, and when this isn't possible you create a file named
filename.license containing the header. While I find this a bit too much
this is also the only way of reliably determining the license and the
copyright holder of a certain file.

The use of SPDX tags has been adopted by projects like the Linux Kernel
(torvalds/linux/commit/a61127c2130236168321cc76c5a58e15c00ad154),
systemd, etc, and I find it way better that including a long copyright
notice on top of every file.

I didn't add any email address, but if you'd like to it is completely
possible to add them in the SPDX-FileCopyrightText tag, between angle
brackets.

The specification is available on https://reuse.software
parent 19aa1137
# SPDX-FileCopyrightText: 2021 Mathieu Stefani
#
# SPDX-License-Identifier: Apache-2.0
---
Language: Cpp
# BasedOnStyle: WebKit
......
<!--
SPDX-FileCopyrightText: 2021 Kip Warner
SPDX-License-Identifier: Apache-2.0
-->
---
name: Bug report
about: Create a report to help us improve
......
# SPDX-FileCopyrightText: 2021 Kip Warner
#
# SPDX-License-Identifier: Apache-2.0
blank_issues_enabled: false
<!--
SPDX-FileCopyrightText: 2021 Kip Warner
SPDX-License-Identifier: Apache-2.0
-->
---
name: Feature request
about: Suggest an idea for this project
......
<!--
SPDX-FileCopyrightText: 2021 Kip Warner
SPDX-License-Identifier: Apache-2.0
-->
(Provide a general summary of your changes in the Title above.)
## Description
......
# SPDX-FileCopyrightText: 2021 Andrea Pappacoda
#
# SPDX-License-Identifier: Apache-2.0
name: pistache.io
on:
......
# SPDX-FileCopyrightText: 2021 Andrea Pappacoda
#
# SPDX-License-Identifier: CC0-1.0
name: REUSE Compliance Check
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v1
# SPDX-FileCopyrightText: 2015 Mathieu Stefani
#
# SPDX-License-Identifier: CC0-1.0
# Build files
/*build*/
......
#!/bin/sh
# SPDX-FileCopyrightText: 2021 Andrea Pappacoda
#
# SPDX-License-Identifier: Apache-2.0
for file in $(git diff-index --cached --name-only HEAD | grep -E '\.(cpp|cc|hpp|h)$') ; do
clang-format --dry-run --Werror "$file" >/dev/null 2>&1 || (echo 'Run ninja clang-format before committing' && false)
done
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pistache
Upstream-Contact: Mathieu Stefani <auquetal@gmail.com>
Source: https://github.com/pistacheio/pistache
Files: debian/*
Copyright: 2019 Kip Warner
License: Apache-2.0
# SPDX-FileCopyrightText: 2016 Mathieu Stefani
#
# SPDX-License-Identifier: Apache-2.0
language: cpp
os: linux
......
# SPDX-FileCopyrightText: 2015 Mathieu Stefani
#
# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required (VERSION 3.11)
set(CMAKE_BUILD_TYPE_INIT Release)
......
This diff is collapsed.
Creative Commons Legal Code
CC0 1.0 Universal
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.
Copyright 2021 Katerina Limpitsouni
All images, assets and vectors published on unDraw can be used for free. You can use them for noncommercial and commercial purposes. You do not need to ask permission from or provide credit to the creator or unDraw.
More precisely, unDraw grants you an nonexclusive, worldwide copyright license to download, copy, modify, distribute, perform, and use the assets provided from unDraw for free, including for commercial purposes, without permission from or attributing the creator or unDraw. This license does not include the right to compile assets, vectors or images from unDraw to replicate a similar or competing service, in any form or distribute the assets in packs or otherwise. This extends to automated and non-automated ways to link, embed, scrape, search or download the assets included on the website without our consent.
Regarding brand logos that are included:
Are registered trademarks of their respected owners. Are included on a promotional basis and do not represent an association with unDraw or its users. Do not indicate any kind of endorsement of the trademark holder towards unDraw, nor vice versa. Are provided with the sole purpose to represent the actual brand/service/company that has registered the trademark and must not be used otherwise.
MIT License
Copyright (c) <year> <copyright holders>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
<!--
SPDX-FileCopyrightText: 2016 Mathieu Stefani
SPDX-License-Identifier: Apache-2.0
-->
# Pistache
[![N|Solid](pistache.io/static/img/logo.png)](https://www.github.com/pistacheio/pistache)
[![Build Status](https://travis-ci.org/pistacheio/pistache.svg?branch=master)](https://travis-ci.org/pistacheio/pistache)
[![REUSE status](https://api.reuse.software/badge/github.com/pistacheio/pistache)](https://api.reuse.software/info/github.com/pistacheio/pistache)
Pistache is a modern and elegant HTTP and REST framework for C++. It is entirely written in pure-C++17 and provides a clear and pleasant API.
......
# SPDX-FileCopyrightText: 2019 Kip Warner
#
# SPDX-License-Identifier: Apache-2.0
Source: pistache
Section: libdevel
Priority: optional
......
# SPDX-FileCopyrightText: 2019 Kip Warner
#
# SPDX-License-Identifier: Apache-2.0
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pistache
Upstream-Contact: Dennis Jenkins <dennis.jenkins.75@gmail.com>
......@@ -12,4 +16,3 @@ License: Apache-2.0
Licensed works, modifications, and larger works may be distributed under
different terms and without source code.
#!/usr/bin/make -f
# SPDX-FileCopyrightText: 2019 Kip Warner
#
# Pistache.
# Copyright (C) 2015-2019 Mathieu Stefani. Released under the terms of the
# Apache License 2.0.
#
# SPDX-License-Identifier: Apache-2.0
# Output every command that modifies files on the build system...
DH_VERBOSE = 1
......
# SPDX-FileCopyrightText: 2019 Kip Warner
#
# Pistache.
# Copyright (C) 2015-2019 Mathieu Stefani. Released under the terms of the
# Apache License 2.0.
#
# SPDX-License-Identifier: Apache-2.0
Tests: test-compilation-and-link.sh
Depends: libpistache-dev, build-essential
#!/bin/sh
# SPDX-FileCopyrightText: 2019 Kip Warner
#
# Pistache.
# Copyright (C) 2015-2020 Mathieu Stefani. Released under the terms of the
# Apache License 2.0.
#
# SPDX-License-Identifier: Apache-2.0
# Bail on any errors...
set -e
......
/**
* SPDX-FileCopyrightText: 2019 Arthur de Araújo Farias
*
* SPDX-License-Identifier: Apache-2.0
*/
OUTPUT_DIRECTORY = @CURRENT_BUILD_DIR@/docs/
INPUT = @SOURCE_DIR@/README.md @SOURCE_DIR@/src/ @SOURCE_DIR@/include/ @SOURCE_DIR@/examples/ @SOURCE_DIR@/docs/
USE_MDFILE_AS_MAINPAGE = @SOURCE_DIR@/README.md
......
# SPDX-FileCopyrightText: 2021 Andrea Pappacoda
#
# SPDX-License-Identifier: Apache-2.0
doxygen = find_program('doxygen')
dot = find_program('dot')
mscgen = find_program('mscgen', required: false)
......
/*
* SPDX-FileCopyrightText: 2016 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
Mathieu Stefani, 15 février 2016
......
/*
* SPDX-FileCopyrightText: 2016 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
Mathieu Stefani, 13 février 2016
......
/*
* SPDX-FileCopyrightText: 2016 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
Mathieu Stefani, 07 février 2016
......
/*
* SPDX-FileCopyrightText: 2016 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/* http_server.cc
Mathieu Stefani, 07 février 2016
......
/*
* SPDX-FileCopyrightText: 2019 Oleg Burchakov
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "pistache/endpoint.h"
#include <signal.h>
......
# SPDX-FileCopyrightText: 2021 Andrea Pappacoda
#
# SPDX-License-Identifier: Apache-2.0
pistache_example_files = [
'custom_header',
'hello_server',
......
/*
* SPDX-FileCopyrightText: 2016 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/* rest_description.cc
Mathieu Stefani, 27 février 2016
......
/*
* SPDX-FileCopyrightText: 2016 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
Mathieu Stefani, 07 février 2016
......
# SPDX-FileCopyrightText: 2021 Andrea Pappacoda
#
# SPDX-License-Identifier: Apache-2.0
subdir('pistache')
/*
* SPDX-FileCopyrightText: 2015 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/* async.h
Mathieu Stefani, 05 novembre 2015
......
/*
Copyright (C) 2019-2020, Kip Warner.
Released under the terms of Apache License 2.0.
*/
* SPDX-FileCopyrightText: 2019 Kip Warner
*
* SPDX-License-Identifier: Apache-2.0
*/
// Multiple include protection...
#ifndef _BASE_64_H_
......
/*
* SPDX-FileCopyrightText: 2016 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
Mathieu Stefani, 29 janvier 2016
......
/*
* SPDX-FileCopyrightText: 2015 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/* common.h
Mathieu Stefani, 12 August 2015
......
/*
* SPDX-FileCopyrightText: 2019 knowledge4igor
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <cstddef>
......
/*
* SPDX-FileCopyrightText: 2016 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
Mathieu Stefani, 16 janvier 2016
......
/*
* SPDX-FileCopyrightText: 2016 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
Mathieu Stefani, 24 février 2016
......
/*
* SPDX-FileCopyrightText: 2016 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
Mathieu Stefani, 22 janvier 2016
......
/*
* SPDX-FileCopyrightText: 2018 knowledge4igor
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <stdexcept>
......
/*
* SPDX-FileCopyrightText: 2015 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/* flags.h
Mathieu Stefani, 18 August 2015
......
/*
* SPDX-FileCopyrightText: 2015 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/* http.h
Mathieu Stefani, 13 August 2015
......
/*
* SPDX-FileCopyrightText: 2015 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/* http_defs.h
Mathieu Stefani, 01 September 2015
......
/*
* SPDX-FileCopyrightText: 2015 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/* http_header.h
Mathieu Stefani, 19 August 2015
......
/*
* SPDX-FileCopyrightText: 2015 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/* http_headers.h
Mathieu Stefani, 19 August 2015
......
/*
* SPDX-FileCopyrightText: 2016 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
Mathieu Stefani, 28 février 2016
......
/*
* SPDX-FileCopyrightText: 2015 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/* listener.h
Mathieu Stefani, 12 August 2015
......
/*
* SPDX-FileCopyrightText: 2020 Michael Ellison
*
* SPDX-License-Identifier: Apache-2.0
*/
/* log.h
Michael Ellison, 27 May 2020
......
/* mailbox.h
Mathieu Stefani, 12 August 2015
Copyright (c) 2014 Datacratic. All rights reserved.
A simple lock-free Mailbox implementation
*/
/*
* Copyright (c) 2014 Datacratic. All rights reserved.
* SPDX-FileCopyrightText: 2015 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
......
# SPDX-FileCopyrightText: 2021 Andrea Pappacoda
#
# SPDX-License-Identifier: Apache-2.0
prefix = get_option('prefix')
configure_file(input: 'version.h.in', output: 'version.h', configuration: version_data_conf, install: get_option('PISTACHE_INSTALL'), install_dir: prefix/get_option('includedir')/'pistache')
......
/*
* SPDX-FileCopyrightText: 2021 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <cstdint>
......
/*
* SPDX-FileCopyrightText: 2015 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/* mime.h
Mathieu Stefani, 29 August 2015
......
/*
* SPDX-FileCopyrightText: 2015 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/* net.h
Mathieu Stefani, 12 August 2015
......
/*
* SPDX-FileCopyrightText: 2015 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/* os.h
Mathieu Stefani, 13 August 2015
......
/*
* SPDX-FileCopyrightText: 2015 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/* peer.h
Mathieu Stefani, 12 August 2015
......
/*
* SPDX-FileCopyrightText: 2016 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
Mathieu Stefani, 28 janvier 2016
......
/*
* SPDX-FileCopyrightText: 2016 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
Mathieu Stefani, 15 juin 2016
......
/*
* SPDX-FileCopyrightText: 2016 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
Mathieu Stefani, 27 février 2016
......
/*
* SPDX-FileCopyrightText: 2016 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/* router.h
Mathieu Stefani, 05 janvier 2016
......
/*
* SPDX-FileCopyrightText: 2016 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
Mathieu Stefani, 14 mai 2016
......
/*
* SPDX-FileCopyrightText: 2020 hyperxor
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#ifdef PISTACHE_USE_SSL
......
/*
* SPDX-FileCopyrightText: 2015 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/* stream.h
Mathieu Stefani, 05 September 2015
......
/*
* SPDX-FileCopyrightText: 2020 Michael Ellison
*
* SPDX-License-Identifier: Apache-2.0
*/
/* log.h
Michael Ellison, 27 May 2020
......
/*
* SPDX-FileCopyrightText: 2015 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/* tcp.h
Mathieu Stefani, 05 novembre 2015
......
/*
* SPDX-FileCopyrightText: 2016 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/* timer_pool.h
Mathieu Stefani, 09 février 2016
......
/*
* SPDX-FileCopyrightText: 2016 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
Mathieu Stefani, 26 janvier 2016
......
/*
* SPDX-FileCopyrightText: 2018 knowledge4igor
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
namespace Pistache
......
/* typeid.h
Mathieu Stefani, 30 novembre 2015
Copyright (c) 2015 Datacratic. All rights reserved.
This header provides a TypeId type that holds an unique identifier
for a given type. Basically equivalent to std::type_info except that
it does not rely on RTTI. The identifier is determined at compile-time.
Inspired by Rust's std::TypeId
*/
/*
* Copyright (c) 2015 Datacratic. All rights reserved.
* SPDX-FileCopyrightText: 2015 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
......
/*
* SPDX-FileCopyrightText: 2019 Louis Solofrizzo
*
* SPDX-License-Identifier: Apache-2.0
*/
/* utils.h
Louis Solofrizzo 2019-10-17
......
/*
* SPDX-FileCopyrightText: 2019 Kip Warner
*
* SPDX-License-Identifier: Apache-2.0
*/
/* version.h
Kip Warner, 25 May 2019
......
/*
* SPDX-FileCopyrightText: 2016 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
/* view.h
Mathieu Stefani, 19 janvier 2016
......
# SPDX-FileCopyrightText: 2021 Andrea Pappacoda
#
# SPDX-License-Identifier: Apache-2.0
project(
'pistache',
'cpp',
......
# SPDX-FileCopyrightText: 2021 Andrea Pappacoda
#
# SPDX-License-Identifier: Apache-2.0
option('PISTACHE_BUILD_TESTS', type: 'boolean', value: false, description: 'build tests alongside the project')
option('PISTACHE_ENABLE_NETWORK_TESTS', type: 'boolean', value: true, description: 'if tests are built, run ones needing network access')
option('PISTACHE_BUILD_EXAMPLES', type: 'boolean', value: false, description: 'build examples alongside the project')
......
# SPDX-FileCopyrightText: 2021 Andrea Pappacoda
#
# SPDX-License-Identifier: CC0-1.0
# Dependencies
/node_modules
......
<!--
SPDX-FileCopyrightText: 2021 Andrea Pappacoda
SPDX-License-Identifier: CC0-1.0
-->
# Website
This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.
......
// SPDX-FileCopyrightText: 2021 Andrea Pappacoda
//
// SPDX-License-Identifier: Apache-2.0
module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
};
<!--
SPDX-FileCopyrightText: 2016 Mathieu Stefani
SPDX-FileCopyrightText: 2021 Andrea Pappacoda
SPDX-License-Identifier: Apache-2.0
-->
---
title: Asynchronous HTTP programming
---
......
<!--
SPDX-FileCopyrightText: 2016 Mathieu Stefani
SPDX-FileCopyrightText: 2021 Andrea Pappacoda
SPDX-License-Identifier: Apache-2.0
-->
---
title: Headers
---
......
<!--
SPDX-FileCopyrightText: 2016 Mathieu Stefani
SPDX-FileCopyrightText: 2021 Andrea Pappacoda
SPDX-License-Identifier: Apache-2.0
-->
---
id: http-handler
title: HTTP handler
......
<!--
SPDX-FileCopyrightText: 2016 Mathieu Stefani
SPDX-FileCopyrightText: 2021 Andrea Pappacoda
SPDX-License-Identifier: Apache-2.0
-->
---
title: Getting started
slug: /
......
<!--
SPDX-FileCopyrightText: 2016 Mathieu Stefani
SPDX-FileCopyrightText: 2021 Andrea Pappacoda
SPDX-License-Identifier: Apache-2.0
-->
---
title: REST description
---
......
<!--
SPDX-FileCopyrightText: 2016 Mathieu Stefani
SPDX-FileCopyrightText: 2021 Andrea Pappacoda
SPDX-License-Identifier: Apache-2.0
-->
---
title: Routing
---
......
// SPDX-FileCopyrightText: 2021 Andrea Pappacoda
//
// SPDX-License-Identifier: Apache-2.0
module.exports = {
title: 'Pistache',
tagline: 'An elegant C++ REST framework.',
......@@ -78,7 +82,6 @@ module.exports = {
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/pistacheio/pistache/edit/master/pistache.io/',
},
......
SPDX-FileCopyrightText: 2021 Andrea Pappacoda
SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: 2021 Andrea Pappacoda
//
// SPDX-License-Identifier: Apache-2.0
/**
* Creating a sidebar enables you to:
- create an ordered group of docs
......
// SPDX-FileCopyrightText: 2021 Andrea Pappacoda
//
// SPDX-License-Identifier: Apache-2.0
import React from 'react';
import clsx from 'clsx';
import styles from './HomepageFeatures.module.css';
......
/*
* SPDX-FileCopyrightText: 2021 Andrea Pappacoda
*
* SPDX-License-Identifier: CC0-1.0
*/
/* stylelint-disable docusaurus/copyright-header */
.features {
......
/*
* SPDX-FileCopyrightText: 2021 Andrea Pappacoda
*
* SPDX-License-Identifier: CC0-1.0
*/
/* stylelint-disable docusaurus/copyright-header */
/**
* Any CSS included here will be global. The classic template
......
// SPDX-FileCopyrightText: 2021 Andrea Pappacoda
//
// SPDX-License-Identifier: CC0-1.0
import React from 'react';
import clsx from 'clsx';
import Layout from '@theme/Layout';
......
/*
* SPDX-FileCopyrightText: 2021 Andrea Pappacoda
*
* SPDX-License-Identifier: CC0-1.0
*/
/* stylelint-disable docusaurus/copyright-header */
/**
......
SPDX-FileCopyrightText: 2021 Andrea Pappacoda
SPDX-License-Identifier: CC0-1.0
\ No newline at end of file
SPDX-FileCopyrightText: 2016 Mathieu Stefani
SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: 2021 Katerina Limpitsouni
SPDX-License-Identifier: LicenseRef-unDraw
SPDX-FileCopyrightText: 2021 Katerina Limpitsouni
SPDX-License-Identifier: LicenseRef-unDraw
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment