Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions doc/developer-guide/introduction/header-file-structure.en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ The header files are located in the ``include/`` directory. There are several su
The C++ Plugin API. These call functions in the ``libtscppapi.so`` library to directly interact with
the running |TS| instance.

.. note::

The C++ Plugin API is deprecated in ATS 10. It will be removed in ATS 11.

"tscpp/util"
C++ utilities. These are standalone headers (although they may depend on other headers in the
same directory). These provide functionality that is used inside the |TS| core logic but has been
Expand Down
5 changes: 5 additions & 0 deletions doc/release-notes/whats-new.en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,8 @@ Plugins are now required to be compiled as C++ code, rather than straight C.
The API is tested with C++17, so code compatible with this version is preferred.
``TSDebug`` and related functions are removed. Debug tracing should now be done
using cpp:func:`Dbg` and related functions, as in |TS| core code.

C++ Plugin API Deprecated
^^^^^^^^^^^^^^^^^^^^^^^^^

It is deprecated in this release. It will be deleted in ATS 11.
2 changes: 2 additions & 0 deletions include/tscpp/api/Async.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
* @brief Provides constructs to perform async operations.
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include <memory>
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/AsyncHttpFetch.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* @file AsyncHttpFetch.h
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include <string>
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/AsyncTimer.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* @file AsyncTimer.h
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include <string>
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/CaseInsensitiveStringComparator.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* @brief A case insensitive comparator that can be used with STL containers.
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include <string>
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/ClientRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* @file ClientRequest.h
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include "tscpp/api/Request.h"
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/Continuation.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
* @brief Wrapper class for TS API type TSCont.
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include <ts/ts.h>
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/GlobalPlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
* @brief Contains the interface used in creating Global plugins.
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include "tscpp/api/Plugin.h"
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/GzipDeflateTransformation.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
* @brief Gzip Deflate Transformation can be used to compress content.
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include <string>
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/GzipInflateTransformation.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
* @brief Gzip Inflate Transformation can be used to decompress gzipped content.
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include <string_view>
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/Headers.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* @file Headers.h
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include "tscpp/api/noncopyable.h"
Expand Down
3 changes: 3 additions & 0 deletions include/tscpp/api/HttpMethod.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
* @file HttpMethod.h
* @brief Contains an enumeration and printable strings for Http Methods.
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include <string>
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/HttpStatus.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
* @brief Contains an enumeration and printable strings for Http Status codes.
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include <string>
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/HttpVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
* @brief Contains an enumeration and printable strings for Http Versions.
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include <string>
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/InterceptPlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* @file InterceptPlugin.h
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include <string>
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/Logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
*
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include <string>
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/Plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
* through extending GlobalPlugin, TransactionPlugin, or TransformationPlugin.
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include "tscpp/api/Request.h"
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/PluginInit.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* @brief Provides hooks that plugins have to implement. ATS will invoke these when loading the plugin .so files.
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once
#include <ts/apidefs.h>
#include "tscpp/api/utils.h"
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/RemapPlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* @file RemapPlugin.h
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include "tscpp/api/Transaction.h"
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/Request.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
* @file Request.h
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include "tscpp/api/Headers.h"
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/Response.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
* @file Response.h
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include "tscpp/api/Headers.h"
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/Stat.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
* @file Stat.h
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include "ts/apidefs.h"
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/Transaction.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
* @file Transaction.h
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include <sys/socket.h>
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/TransactionPlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* @brief Contains the interface used in creating Transaction plugins.
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include <memory>
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/TransformationPlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* @file TransformationPlugin.h
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include <string_view>
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/Url.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
* @file Url.h
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include <string>
Expand Down
2 changes: 2 additions & 0 deletions include/tscpp/api/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
*
*/

// The C++ Plugin API is deprecated in ATS 10, and will be removed in ATS 11.

#pragma once

#include <string>
Expand Down