IHttpNegotiate::BeginningTransactionIHttpNegotiate::BeginningTransaction*
*Contents  *Index  *Topic Contents
*Previous Topic: IBindStatusCallback::OnStopBinding
*Next Topic: IHttpNegotiate::OnResponse

IHttpNegotiate::BeginningTransaction

HRESULT BeginningTransaction(
    [in] LPCWSTR  szURL,
    [in] DWORD  dwReserved,
    [in] LPCWSTR  szHeaders,
    [out] LPWSTR * pszAdditionalHeaders
);		

Notifies the client of the URL being bound to at the beginning of an HTTP transaction.

szURL
URL for the HTTP transaction.
dwReserved
Reserved for future use.
szHeaders
Current request headers.
pszAdditionalHeaders
Optional additional headers to append to the HTTP request. If these conflict with existing values in szHeaders, the new request headers take precedence. If pszAdditionalHeaders is set to NULL, no headers are added to the HTTP request.

The URL moniker calls this method before sending an HTTP request. It notifies the client of the URL being bound to at the beginning of the HTTP transaction. It also allows the client to add additional headers, such as Accept-Language, to the request.

See also IHttpNegotiate::OnResponse


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.