Help Center

CWinHttpRequest.OnResponseStartmethod

Occurs when the response data starts to be received.

COMmethoddoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

SUB OnResponseStart (BYVAL Status AS LONG, BYVAL ContentType AS BSTR)

Parameters

NameDescription
StatusReceives the standard status code returned with the response data. Status codes are defined in RFC 2616.
ContentTypeSpecifies the type of content received, such as "text/html" or "image/gif".

Description

Occurs when the response data starts to be received.

Remarks

For this event to occur, use Open to send an HTTP connection in asynchronous mode and use Send to send a data request to an Internet server. This is the first WinHTTP event to occur after the Send.

Reference