Sets the HTTP/HTTPS user agent and overrides those of the workbench.
WebAPI.bdh
WebSetUserAgent(in sUserAgent: string): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
sUserAgent | Contains the string to be used with the User-Agent header |
dcltrans transaction TWebInit begin WebSetUserAgent("CustomClient 1.0"); WebDumpSettings(); end TWebInit;