Skip to content

HttpProxyAuthBasic - cHttpClient

Include: Use System\Http.pkg

Sets the Proxy-Authorization header for HTTP Basic authentication.

Type: Procedure

Parameters

Parameter Type Description
sUsername String Username.
sPassword String Password.
sOptRealm String Reserved for compatibility; pass an empty string unless your integration requires a realm value.

Syntax

Procedure HttpProxyAuthBasic String sUsername String sPassword String sOptRealm

Call

Send HttpProxyAuthBasic of hoObj "user" "password" ""

Description

Sets Proxy-Authorization: Basic <base64(username:password)>. sOptRealm is reserved for compatibility; pass an empty string unless your integration requires a realm value.