EMS.ResourceAPI.EEMSHTTPError.TCodes

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

    TCodes = record
      const BadRequest = 400;
      const NotFound = 404;
      const Duplicate = 409;  // Duplicate
      const Unauthorized = 401;  // Don't know who you are
      const Forbidden = 403;  // I know who you are but not allowed
    end;

C++

struct DECLSPEC_DRECORD TCodes
{
public:
    static const System::Word BadRequest = System::Word(0x190);
    static const System::Word NotFound = System::Word(0x194);
    static const System::Word Duplicate = System::Word(0x199);
    static const System::Word Unauthorized = System::Word(0x191);
    static const System::Word Forbidden = System::Word(0x193);
};

Properties

Type Visibility Source Unit Parent
record
struct
public
EMS.ResourceAPI.pas
EMS.ResourceAPI.hpp
EMS.ResourceAPI EEMSHTTPError

Description

Helper that provides the HTTP status code of some HTTP errors.

See Also