Sets one or more user-defined headers for HTTP/HTTPS.
WebAPI.bdh
WebSetHttpHeader( in sHeader : string ): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
sHeader | User defined header |
dcltrans transaction TWebInit begin WebSetHttpHeader("CustomHeader: CustomValue"); WebDumpSettings(); end TWebInit;
WebHttpHeaders01.bdf