open method
Creates a connection with a domain's server.
![]() |
Syntax
HRESULT retVal = object.open(bstrMethod, bstrUrl);
Parameters
- bstrMethod [in]
-
Type: BSTR
- bstrUrl [in]
-
Type: BSTR
The server URL.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Requires an XDomainRequest object.
See also
- Reference
- IHTMLXDomainRequest
- XDomainRequest
- Other Resources
- W3C Architecture: Naming and Addressing: URIs, URLs, ...
- RFC2616: Hypertext Transfer Protocol -- HTTP/1.1
Show:
