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;
44class Stream;
45class StreamSession;
46class WebSocket;
51
52} // namespace Http
53
54} // namespace Pt
55
56#endif
Client-side authentication.
Definition Authenticator.h:152
Server-side authorization.
Definition Authorizer.h:145
HTTP user agent.
Definition Client.h:195
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:82
Factory for request responders.
Definition Service.h:80
Maps requests to a service.
Definition Servlet.h:80
Binds one session object to one HTTP stream.
Definition StreamSession.h:54
One HTTP stream on a connection.
Definition Stream.h:90
Payload of one text or binary WebSocket message.
Definition WebSocketMessage.h:71
Factory and endpoint policy for WebSocket sessions.
Definition WebSocketService.h:107
Release scope of the sessions one WebSocket service creates.
Definition WebSocketServlet.h:66
Server facade of one accepted WebSocket stream.
Definition WebSocketSession.h:126
Client handshake and messages on an upgraded stream.
Definition WebSocket.h:133
HTTP clients and servers.
Core module.
Definition Allocator.h:33