Unit Grijjy.Http

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

 

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TThreadSafeBuffer Thread safe buffer
record TgoHttpHeader Http header
Class TgoHttpHeaders Http headers class
Class TgoHttpClient Http client
Class TgoHttpResponseMessage Http response message
Class TgoHttpClientManager Http client manager

Types

TOnRedirect = procedure(Sender: TObject; var ALocation: String; const AFollow: Boolean) of object;
TOnPassword = procedure(Sender: TObject; var AAgain: Boolean) of object;
TOnRecv = procedure(Sender: TObject; const ABuffer: Pointer; const ASize: Integer; var ACreateResponse: Boolean) of object;
ISO8859String = type AnsiString(28591);
TgoHttpClientState = (...);

Constants

BUFFER_SIZE = 32768;
TIMEOUT_CONNECT = 5000;
TIMEOUT_RECV = 5000;
S_CONTENT_LENGTH = 'content-length';
S_CONTENT_TYPE = 'content-type';
S_TRANSFER_ENCODING = 'transfer-encoding';
S_CHUNKED = 'chunked';
S_CHARSET = 'charset';
CRLF = #13#10;
DEFAULT_HTTP_PORT = 80;
DEFAULT_HTTPS_PORT = 443;
INTERVAL_CLEANUP = 5000;

Variables

HttpClientManager: TgoHttpClientManager;

Description

Types

TOnRedirect = procedure(Sender: TObject; var ALocation: String; const AFollow: Boolean) of object;

Http events

TOnPassword = procedure(Sender: TObject; var AAgain: Boolean) of object;
 
TOnRecv = procedure(Sender: TObject; const ABuffer: Pointer; const ASize: Integer; var ACreateResponse: Boolean) of object;
 
ISO8859String = type AnsiString(28591);

ISO-8859-1 ASCII compatible string

TgoHttpClientState = (...);

Client activity state

Values
  • None:  
  • Error:  
  • Sending:  
  • Receiving:  
  • Finished:  

Constants

BUFFER_SIZE = 32768;

Socket buffer size

TIMEOUT_CONNECT = 5000;

Timeout for operations

TIMEOUT_RECV = 5000;
 
S_CONTENT_LENGTH = 'content-length';

Strings

S_CONTENT_TYPE = 'content-type';
 
S_TRANSFER_ENCODING = 'transfer-encoding';
 
S_CHUNKED = 'chunked';
 
S_CHARSET = 'charset';
 
CRLF = #13#10;

End of line

DEFAULT_HTTP_PORT = 80;

Ports

DEFAULT_HTTPS_PORT = 443;
 
INTERVAL_CLEANUP = 5000;

Cleanup

Variables

HttpClientManager: TgoHttpClientManager;
 

Generated by P2PasDoc 0.13.0 on 2017-04-25 12:54:26