Api.h
1/* Copyright (C) 2005-2013 by Dr. Marc Boris Duerner
2 SPDX-License-Identifier: LGPL-2.1-or-later WITH mif-exception
3*/
4
5#ifndef PT_HTTP_API_H
6#define PT_HTTP_API_H
7
8#include <Pt/Api.h>
9
10#define PT_HTTP_VERSION_MAJOR PT_VERSION_MAJOR
11#define PT_HTTP_VERSION_MINOR PT_VERSION_MINOR
12#define PT_HTTP_VERSION_REVISION PT_VERSION_REVISION
13#define PT_HTTP_VERSION_PRERELEASE PT_VERSION_PRERELEASE
14
15#if defined(PT_HTTP_API_EXPORT)
16# define PT_HTTP_API PT_EXPORT
17# else
18# define PT_HTTP_API PT_IMPORT
19# endif
20
21namespace Pt {
22
30namespace Http {
31
32class Authenticator;
33class Authorizer;
34class Client;
35class Credential;
36class Message;
37class MessageHeader;
38class MessageProgress;
39class Reply;
40class Request;
41class Server;
42class Service;
43class Servlet;
44
45} // namespace Http
46
47} // namespace Pt
48
49#endif
Client-side authentication.
Definition Authenticator.h:152
Server-side authorization.
Definition Authorizer.h:145
HTTP user agent.
Definition Client.h:189
Credentials for authorization and authentication.
Definition Credentials.h:45
HTTP message header.
Definition Message.h:74
Progress of an asynchronous HTTP send or receive.
Definition Message.h:337
HTTP message with header and body.
Definition Message.h:460
HTTP reply message.
Definition Reply.h:64
HTTP request message.
Definition Request.h:65
Listening HTTP server.
Definition Server.h:83
Factory for request responders.
Definition Service.h:77
Maps requests to a service.
Definition Servlet.h:80
HTTP clients and servers.
Core module.
Definition Allocator.h:33