Gets the current values of HTTP/HTTPS accept types.
WebAPI.bdh
WebGetAcceptTypes( out sAccept : string, in nMaxLen : number optional ): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
sAccept | A string buffer that will receive the current list of AcceptTypes. |
nMaxLen | The maximum length of the receive buffer sAccept (optional). |
dcltrans transaction TWebInit var sAccept: string; begin WebGetAcceptTypes(sAccept); write("HttpAccept: "); write(sAccept); writeln; end TWebInit;