Unit 'httpprotocol' Package
[Overview][Constants][Types][Procedures and functions][Index] [#fcl]

HTTPEncode

Encodes strings for HTTP URL transmission.

Declaration

Source position: httpprotocol.pp line 133

function HTTPEncode(

  const AStr: string

):string;

Arguments

AStr

  

The string to encode.

Function result

The URL-encoded string.

Description

Converts unsafe characters to percent-encoded format (%XX). The overloaded version allows specifying custom unsafe characters and space handling behavior.

See also

HTTPDecode

  

Decodes HTTP URL-encoded strings.


Documentation generated on: Aug 28 2026 Report a problem on this page