IHTTPTransportAdv2::Option Property

[propget] HRESULT Option([in] BSTR optionName, [out, retval] VARIANT * pVal);
[propput] HRESULT Option([in] BSTR optionName, [in] VARIANT val);

Get or sets a named property for the HTTP transport. Valid option names are

 

Return Values

a HRESULT code

 

Sample Code

set t = CreateObject("PocketSOAP.HTTPTransport")
' compress the outgoing message
t.option("compression.enabled") = true
' rest of code goes here

 

See Also

The IHTTPTransportAdv2 Interface | 

 

 

Copyright

Copyright © Simon Fell, 2000-2004. All rights reserved.