Class THttpClient

Unit

Declaration

type THttpClient = class(TObject)

Description

A simple http client that can make requests to the discord api.

Hierarchy

Overview

Methods

Public function MakeRequest(aHttpRequest : THttpRequest) : TJSONObject;
Public constructor Create(aToken: string);
Public destructor Destroy; override;

Description

Methods

Public function MakeRequest(aHttpRequest : THttpRequest) : TJSONObject;

Send a THttpRequest to the discord api.

Public constructor Create(aToken: string);

Create a new client with the given bot token.

Public destructor Destroy; override;

The destructor.


Generated by PasDoc 0.16.0.