# WARNING: Please don't edit this file. It was generated by Python/WinRT v1.0.0-beta.10

import enum

import winsdk.system

_ns_module = winsdk.system._import_ns_module("Windows.Web.Http.Diagnostics")

try:
    import winsdk.windows.foundation
except ImportError:
    pass

try:
    import winsdk.windows.foundation.collections
except ImportError:
    pass

try:
    import winsdk.windows.system.diagnostics
except ImportError:
    pass

try:
    import winsdk.windows.web.http
except ImportError:
    pass

class HttpDiagnosticRequestInitiator(enum.IntEnum):
    PARSED_ELEMENT = 0
    SCRIPT = 1
    IMAGE = 2
    LINK = 3
    STYLE = 4
    XML_HTTP_REQUEST = 5
    MEDIA = 6
    HTML_DOWNLOAD = 7
    PREFETCH = 8
    OTHER = 9
    CROSS_ORIGIN_PRE_FLIGHT = 10
    FETCH = 11
    BEACON = 12

_ns_module._register_HttpDiagnosticRequestInitiator(HttpDiagnosticRequestInitiator)

HttpDiagnosticProvider = _ns_module.HttpDiagnosticProvider
HttpDiagnosticProviderRequestResponseCompletedEventArgs = _ns_module.HttpDiagnosticProviderRequestResponseCompletedEventArgs
HttpDiagnosticProviderRequestResponseTimestamps = _ns_module.HttpDiagnosticProviderRequestResponseTimestamps
HttpDiagnosticProviderRequestSentEventArgs = _ns_module.HttpDiagnosticProviderRequestSentEventArgs
HttpDiagnosticProviderResponseReceivedEventArgs = _ns_module.HttpDiagnosticProviderResponseReceivedEventArgs
HttpDiagnosticSourceLocation = _ns_module.HttpDiagnosticSourceLocation
