Class THttpRequestProps

Unit

Declaration

type THttpRequestProps = class(TObject)

Description

Generic properties of request. All of them except URL are common - assigned once and applied to all requests in current queue. Changing the properties won't take effect until queue gets empty.

Hierarchy

Overview

Fields

Public URL: string;
Public Proxy: string;
Public HttpUserName: string;
Public HttpPassword: string;
Public HeaderLines: TStrings;
Public Additional: Pointer;

Methods

Public destructor Destroy; override;
Public function Clone: THttpRequestProps; virtual;

Description

Fields

Public URL: string;

HTTP URL to access.
Could contain login in the form proto://user:pass@url overriding HttpUserName and HttpPassword fields.
Used only in TBlockingNetworkRequestProc, ignored in TNetworkRequestQueue.

Public Proxy: string;

[http://]host:port Address of HTTP (CONNECT) proxy, protocol is optional.
Direct connection if empty. If equals to SystemProxy, OS-wide value is used. Could contain login in the form user:pass@host:port.

Public HttpUserName: string;

Access login name.

Public HttpPassword: string;

Access login pass.

Public HeaderLines: TStrings;

HTTP header.

Public Additional: Pointer;

Any data that request function could use. Note that data MUST not change as it is not copied in Clone and is being accessed from multiple threads. Alternatively, THttpRequestProps descendant could implement proper copying in overridden Clone.

Methods

Public destructor Destroy; override;

This item has no description.

Public function Clone: THttpRequestProps; virtual;

Create modifiable copy


Generated by PasDoc 0.16.0.