C# Class System.Net.Http.WinHttpRequestCallback

Static class containing the WinHttp global callback and associated routines.
Mostra file Open project: dotnet/corefx

Public Properties

Property Type Description
StaticCallbackDelegate Interop.WinHttp.WINHTTP_STATUS_CALLBACK

Public Methods

Method Description
WinHttpCallback ( IntPtr handle, IntPtr context, uint internetStatus, IntPtr statusInformation, uint statusInformationLength ) : void

Private Methods

Method Description
OnRequestDataAvailable ( WinHttpRequestState state, int bytesAvailable ) : void
OnRequestError ( WinHttpRequestState state, Interop asyncResult ) : void
OnRequestHandleClosing ( WinHttpRequestState state ) : void
OnRequestReadComplete ( WinHttpRequestState state, uint bytesRead ) : void
OnRequestReceiveResponseHeadersComplete ( WinHttpRequestState state ) : void
OnRequestRedirect ( WinHttpRequestState state, Uri redirectUri ) : void
OnRequestSendRequestComplete ( WinHttpRequestState state ) : void
OnRequestSendingRequest ( WinHttpRequestState state ) : void
OnRequestWriteComplete ( WinHttpRequestState state ) : void
RequestCallback ( IntPtr handle, WinHttpRequestState state, uint internetStatus, IntPtr statusInformation, uint statusInformationLength ) : void

Method Details

WinHttpCallback() public static method

public static WinHttpCallback ( IntPtr handle, IntPtr context, uint internetStatus, IntPtr statusInformation, uint statusInformationLength ) : void
handle System.IntPtr
context System.IntPtr
internetStatus uint
statusInformation System.IntPtr
statusInformationLength uint
return void

Property Details

StaticCallbackDelegate public_oe static_oe property

public static Interop.WinHttp.WINHTTP_STATUS_CALLBACK StaticCallbackDelegate
return Interop.WinHttp.WINHTTP_STATUS_CALLBACK