Show/Hide Toolbars

TMS Sparkle Documentation

Navigation: » No topics above this level «

Introduction

Scroll Prev Top Next More

TMS Sparkle is a Delphi framework for network, Internet programming. It provides classes for both client and server applications/services, allowing performing HTTP requests to servers, or building HTTP servers that receive and process client requests. It supports several platforms, including Microsoft Windows, Linux, Mac OS X, iOS and Android. TMS Sparkle is also the core framework used by several other TMS products such as TMS XData and TMS RemoteDB.

 

TMS Sparkle product page: http://www.tmssoftware.com/site/sparkle.asp

TMS Software site: http://www.tmssoftware.com

PDF version of this documentation: http://www.tmssoftware.com/business/sparkle/doc/sparkle_manual.pdf

 

Documentation Topics

 

Introduction

oOverview

oCopyright Notice

oWhat's New

oGetting Support

oBreaking Changes

oOnline Resources

Http Client

oConfiguring a Request

oExamining the Response

oTHttpHeaders object

oTHttpClient Events

oProxy configuration on Windows

oBypassing Self-Signed Certificates on Windows

Http Server

oOverview

oWizard For New Sparkle Server

oUsing Design-Time Components

oHttp.Sys-based Server

URL namespace and reservation

Using HTTP secure (HTTPS)

TMSHttpConfig Tool

THttpSysServerConfig Class

Windows netsh Command-Line

oApache-based Server

oIndy-based Server

oIn-Process Server

oHTTP Dispatcher

oServer Modules

oExamining the Request

oBuilding the Response

oHanding Multipart Content

Design-Time Components

oServer Components - Common Features

oTSparkleStaticServer Component

oTSparkleGenericServer Component

Middleware System

oCreating Custom Middleware

oCompress Middleware

oCORS Middleware

oJWT Authentication Middleware

oBasic Authentication Middleware

Authentication and Authorization

oAdding Authentication Middleware

oUser Identity and Claims

oAuthorizing Requests

oCreating JSON Web Tokens

Built-in Modules

oTStaticModule

oTAnonymousServerModule

JSON Classes

oJSON Writer

oJSON Reader