wwHTTP::SetOption

Sets an Internet option on a given connection handle. The handle can be either an Internet handle or the Http handle so this method has to be called after the connection has been opened. It is meant primarily for internal purposes.

o.SetOption(lnHandle,lnOptionId,lnOptionValue)

Parameters

lnHandle
The handle for the connection that this flag applies to. It'll be one of these two:

oHttp.hHttpSession
oHttp.hipSession

lnOptionId
The WININET option to be set. These are the values from WININET.H that are set.

lnOptionValue
The value to set it to. Check MSDN for settings available.


See also:

West Wind Web Connection

© West Wind Technologies, 2023 • Updated: 03/07/13
Comment or report problem with topic