Delen via


HttpProgressStage Enum

Definition

Indicates the step in the progress for an HTTP connection.

public enum class HttpProgressStage
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class HttpProgressStage
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum HttpProgressStage
var value = Windows.Web.Http.HttpProgressStage.none
Public Enum HttpProgressStage
Inheritance
HttpProgressStage
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
None 0

A default value that should not be encountered.

DetectingProxy 10

The system starts to detect a proxy.

This step may not occur depending on the system configuration.

ResolvingName 20

The system is resolving the hostname for the HTTP connection.

This step may not occur if the hostname doesn't need to be resolved.

ConnectingToServer 30

The socket used for the HTTP connection is connecting to the server.

NegotiatingSsl 40

The HTTP connection to the server is negotiating SSL.

If the SSL negotiation fails, then this will be the last step that occurs on the HTTP connection.

SendingHeaders 50

HTTP headers are being sent to the server.

SendingContent 60

HTTP content is being sent to the server.

This step may not occur if there is no content to send.

WaitingForResponse 70

The HTTP client is waiting for a response from the server.

ReceivingHeaders 80

The HTTP client is receiving headers from the server.

ReceivingContent 90

The HTTP client is receiving content from the server.

Remarks

This enumeration value is a member of the HttpProgress structure returned by many of the asynchronous methods in the Windows.Web.Http namespace. The enumeration values indicates steps in the progress for an HTTP connection.

Some steps are not taken depending on the system configuration and other factors.

Applies to