TPDFlibWebCaptureCommand

Types

Description

Holds the fields of one ISO Web Capture command dictionary stored in catalog /SpiderInfo metadata

Declaration

Delphi

TPDFlibWebCaptureCommand= Record
  URL: AnsiString;
  Levels: Integer;
  Flags: Integer;
  PostData: AnsiString;
  ContentType: AnsiString;
  Headers: AnsiString;
End;

Field values

URLRequired source URL stored as /URL
LevelsTraversal depth stored as /L and required to be at least 1 when adding a command
FlagsBit mask stored as /F, combining PDF_WEB_CAPTURE_SAME_SITE, PDF_WEB_CAPTURE_SAME_PATH and PDF_WEB_CAPTURE_SUBMIT
PostDataOptional submission data stored as /P
ContentTypeOptional content type stored as /CT
HeadersOptional HTTP header text stored as /H

Return values

Not applicable because this declaration is a value record rather than an operation

Failure behaviour

The record performs no validation by itself. AddWebCaptureCommand validates required fields and flag bits, while GetWebCaptureCommand writes defined defaults before attempting to read metadata

Remarks

The record represents ISO Web Capture command metadata only. Supplying it to the library does not initiate a network request or crawler

See also

AddWebCaptureCommand, GetWebCaptureCommand, GetWebCaptureCommandCount