Unit 'HTTPDefs' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

HTTPEncode

Encodes string for URL transmission

Declaration

Source position: httpdefs.pp line 759

function HTTPEncode(

  const AStr: string

):string;

Arguments

AStr

  

String to HTTP encode

Function result

HTTP encoded string

Description

HTTPEncode converts a string to URL-encoded format, replacing special characters with percent-encoded representations suitable for HTTP transmission.

See also

HTTPDecode

  

Decodes URL-encoded string


Documentation generated on: Jan 16 2026