Photon 1.0.0
|
#include <core/Core.hpp>
#include <core/Socket.hpp>
#include <cstddef>
#include <openssl/err.h>
#include <openssl/ssl.h>
#include <string>
Go to the source code of this file.
Classes | |
class | Photon::HTTP::MIMEFactory |
struct | Photon::HTTP::MIMEFactory::MIME |
class | Photon::HTTP::HTTP::HTTPSocket |
struct | Photon::HTTP::HTTP::HTTPSocket::m_Addr |
struct | Photon::HTTP::HTTP::HTTPHeader |
class | Photon::HTTP::HTTPError |
class | Photon::HTTP::IHTTPHelper |
class | Photon::HTTP::HTTPWriter |
Namespaces | |
namespace | Photon |
This file is also about defining core js concepts. | |
namespace | Photon::HTTP |
namespace | Photon::HTTP::HTTP |
Macros | |
#define | PHOTON_HTTP_VER 1.1 |
#define | PHOTON_USE_HTTPS (443) |
#define | PHOTON_USE_HTTP (80) |
#define | PHOTON_HTTP_AGENT "Photon/1.0.0 (Photon) Photon/1.0.0 Version/1.0.0" |
Typedefs | |
using | Photon::HTTP::HTTPSharedPtr = std::shared_ptr< HTTP::HTTPSocket > |
Enumerations | |
enum class | Photon::HTTP::HTTP::RequestType : uint8_t { Photon::HTTP::HTTP::GET , Photon::HTTP::HTTP::POST , Photon::HTTP::HTTP::PUT , Photon::HTTP::HTTP::DEL } |
enum | Photon::HTTP::HTTP_ERROR_LIST : int16_t { Photon::HTTP::HTTP_OK = 200 , Photon::HTTP::HTTP_BAD_GATEWAY = 502 , Photon::HTTP::HTTP_NOT_FOUND = 404 , Photon::HTTP::HTTP_BAD_REQ = 403 , Photon::HTTP::HTTP_DNS_ERROR = -1 , Photon::HTTP::HTTP_INTERNAL_ERROR = -2 , Photon::HTTP::HTTP_ERROR_COUNT = 6 } |
Variables | |
int16_t | Photon::HTTP::PHOTON_HTTP_PORT = PHOTON_USE_HTTPS |
std::string | Photon::HTTP::PHOTON_HTTP_GET = "GET" |
std::string | Photon::HTTP::PHOTON_HTTP_POST = "POST" |
std::string | Photon::HTTP::PHOTON_HTTP_PUT = "PUT" |
std::string | Photon::HTTP::PHOTON_HTTP_DELETE = "DELETE" |
#define PHOTON_HTTP_AGENT "Photon/1.0.0 (Photon) Photon/1.0.0 Version/1.0.0" |
#define PHOTON_HTTP_VER 1.1 |
#define PHOTON_USE_HTTP (80) |
#define PHOTON_USE_HTTPS (443) |