HTTP_BANDWIDTH_LIMIT_INFO structure (http.h)

The HTTP_BANDWIDTH_LIMIT_INFO structure is used to set or query the bandwidth throttling limit.

This structure must be used when setting or querying the HttpServerBandwidthProperty on a URL Group or server session.

Syntax

typedef struct _HTTP_BANDWIDTH_LIMIT_INFO {
  HTTP_PROPERTY_FLAGS Flags;
  ULONG               MaxBandwidth;
} HTTP_BANDWIDTH_LIMIT_INFO, *PHTTP_BANDWIDTH_LIMIT_INFO;

Members

Flags

The HTTP_PROPERTY_FLAGS structure specifying whether the property is present.

MaxBandwidth

The maximum allowed bandwidth rate in bytesper second. Setting the value to HTTP_LIMIT_INFINITE allows unlimited bandwidth rate. The value cannot be smaller than HTTP_MIN_ALLOWED_BANDWIDTH_THROTTLING_RATE.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header http.h

See also

HTTP Server API Version 2.0 Structures

HTTP_SERVER_PROPERTY

HttpQueryServerSessionProperty

HttpQueryUrlGroupProperty

HttpSetServerSessionProperty

HttpSetUrlGroupProperty