Method: IXMLHttpRequest#setRequestHeader

Defined in:
sample/xml.rb

#setRequestHeader(arg0, arg1) ⇒ Object

VOID setRequestHeader Add HTTP request header

BSTR arg0 --- bstrHeader [IN]
BSTR arg1 --- bstrValue [IN]


6943
6944
6945
6946
6947
# File 'sample/xml.rb', line 6943

def setRequestHeader(arg0, arg1)
  ret = _invoke(2, [arg0, arg1], [VT_BSTR, VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end