mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-21 00:58:28 +08:00
pywin32: Complete modules using stubgen & stubtest (#8866)
Complete modules using stubgen & stubtest
This commit is contained in:
11
stubs/pywin32/isapi/__init__.pyi
Normal file
11
stubs/pywin32/isapi/__init__.pyi
Normal file
@@ -0,0 +1,11 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class ISAPIError(Exception):
|
||||
errno: Incomplete
|
||||
strerror: Incomplete
|
||||
funcname: Incomplete
|
||||
def __init__(self, errno, strerror: Incomplete | None = ..., funcname: Incomplete | None = ...) -> None: ...
|
||||
|
||||
class FilterError(ISAPIError): ...
|
||||
class ExtensionError(ISAPIError): ...
|
||||
class InternalReloadException(Exception): ...
|
||||
86
stubs/pywin32/isapi/isapicon.pyi
Normal file
86
stubs/pywin32/isapi/isapicon.pyi
Normal file
@@ -0,0 +1,86 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
HTTP_CONTINUE: int
|
||||
HTTP_SWITCHING_PROTOCOLS: int
|
||||
HTTP_PROCESSING: int
|
||||
HTTP_OK: int
|
||||
HTTP_CREATED: int
|
||||
HTTP_ACCEPTED: int
|
||||
HTTP_NON_AUTHORITATIVE: int
|
||||
HTTP_NO_CONTENT: int
|
||||
HTTP_RESET_CONTENT: int
|
||||
HTTP_PARTIAL_CONTENT: int
|
||||
HTTP_MULTI_STATUS: int
|
||||
HTTP_MULTIPLE_CHOICES: int
|
||||
HTTP_MOVED_PERMANENTLY: int
|
||||
HTTP_MOVED_TEMPORARILY: int
|
||||
HTTP_SEE_OTHER: int
|
||||
HTTP_NOT_MODIFIED: int
|
||||
HTTP_USE_PROXY: int
|
||||
HTTP_TEMPORARY_REDIRECT: int
|
||||
HTTP_BAD_REQUEST: int
|
||||
HTTP_UNAUTHORIZED: int
|
||||
HTTP_PAYMENT_REQUIRED: int
|
||||
HTTP_FORBIDDEN: int
|
||||
HTTP_NOT_FOUND: int
|
||||
HTTP_METHOD_NOT_ALLOWED: int
|
||||
HTTP_NOT_ACCEPTABLE: int
|
||||
HTTP_PROXY_AUTHENTICATION_REQUIRED: int
|
||||
HTTP_REQUEST_TIME_OUT: int
|
||||
HTTP_CONFLICT: int
|
||||
HTTP_GONE: int
|
||||
HTTP_LENGTH_REQUIRED: int
|
||||
HTTP_PRECONDITION_FAILED: int
|
||||
HTTP_REQUEST_ENTITY_TOO_LARGE: int
|
||||
HTTP_REQUEST_URI_TOO_LARGE: int
|
||||
HTTP_UNSUPPORTED_MEDIA_TYPE: int
|
||||
HTTP_RANGE_NOT_SATISFIABLE: int
|
||||
HTTP_EXPECTATION_FAILED: int
|
||||
HTTP_UNPROCESSABLE_ENTITY: int
|
||||
HTTP_INTERNAL_SERVER_ERROR: int
|
||||
HTTP_NOT_IMPLEMENTED: int
|
||||
HTTP_BAD_GATEWAY: int
|
||||
HTTP_SERVICE_UNAVAILABLE: int
|
||||
HTTP_GATEWAY_TIME_OUT: int
|
||||
HTTP_VERSION_NOT_SUPPORTED: int
|
||||
HTTP_VARIANT_ALSO_VARIES: int
|
||||
HSE_STATUS_SUCCESS: int
|
||||
HSE_STATUS_SUCCESS_AND_KEEP_CONN: int
|
||||
HSE_STATUS_PENDING: int
|
||||
HSE_STATUS_ERROR: int
|
||||
SF_NOTIFY_SECURE_PORT: int
|
||||
SF_NOTIFY_NONSECURE_PORT: int
|
||||
SF_NOTIFY_READ_RAW_DATA: int
|
||||
SF_NOTIFY_PREPROC_HEADERS: int
|
||||
SF_NOTIFY_AUTHENTICATION: int
|
||||
SF_NOTIFY_URL_MAP: int
|
||||
SF_NOTIFY_ACCESS_DENIED: int
|
||||
SF_NOTIFY_SEND_RESPONSE: int
|
||||
SF_NOTIFY_SEND_RAW_DATA: int
|
||||
SF_NOTIFY_LOG: int
|
||||
SF_NOTIFY_END_OF_REQUEST: int
|
||||
SF_NOTIFY_END_OF_NET_SESSION: int
|
||||
SF_NOTIFY_ORDER_HIGH: int
|
||||
SF_NOTIFY_ORDER_MEDIUM: int
|
||||
SF_NOTIFY_ORDER_LOW: int
|
||||
SF_NOTIFY_ORDER_DEFAULT: int
|
||||
SF_NOTIFY_ORDER_MASK: Incomplete
|
||||
SF_STATUS_REQ_FINISHED: int
|
||||
SF_STATUS_REQ_FINISHED_KEEP_CONN: Incomplete
|
||||
SF_STATUS_REQ_NEXT_NOTIFICATION: Incomplete
|
||||
SF_STATUS_REQ_HANDLED_NOTIFICATION: Incomplete
|
||||
SF_STATUS_REQ_ERROR: Incomplete
|
||||
SF_STATUS_REQ_READ_NEXT: Incomplete
|
||||
HSE_IO_SYNC: int
|
||||
HSE_IO_ASYNC: int
|
||||
HSE_IO_DISCONNECT_AFTER_SEND: int
|
||||
HSE_IO_SEND_HEADERS: int
|
||||
HSE_IO_NODELAY: int
|
||||
HSE_IO_FINAL_SEND: int
|
||||
HSE_IO_CACHE_RESPONSE: int
|
||||
HSE_EXEC_URL_NO_HEADERS: int
|
||||
HSE_EXEC_URL_IGNORE_CURRENT_INTERCEPTOR: int
|
||||
HSE_EXEC_URL_IGNORE_VALIDATION_AND_RANGE: int
|
||||
HSE_EXEC_URL_DISABLE_CUSTOM_ERROR: int
|
||||
HSE_EXEC_URL_SSI_CMD: int
|
||||
HSE_EXEC_URL_HTTP_CACHE_ELIGIBLE: int
|
||||
12
stubs/pywin32/isapi/simple.pyi
Normal file
12
stubs/pywin32/isapi/simple.pyi
Normal file
@@ -0,0 +1,12 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class SimpleExtension:
|
||||
def GetExtensionVersion(self, vi) -> None: ...
|
||||
def HttpExtensionProc(self, control_block) -> None: ...
|
||||
def TerminateExtension(self, status) -> None: ...
|
||||
|
||||
class SimpleFilter:
|
||||
filter_flags: Incomplete
|
||||
def GetFilterVersion(self, fv) -> None: ...
|
||||
def HttpFilterProc(self, fc) -> None: ...
|
||||
def TerminateFilter(self, status) -> None: ...
|
||||
29
stubs/pywin32/isapi/threaded_extension.pyi
Normal file
29
stubs/pywin32/isapi/threaded_extension.pyi
Normal file
@@ -0,0 +1,29 @@
|
||||
import threading
|
||||
from _typeshed import Incomplete
|
||||
|
||||
import isapi.simple
|
||||
from isapi import ExtensionError as ExtensionError, isapicon as isapicon
|
||||
from win32event import INFINITE as INFINITE
|
||||
|
||||
ISAPI_REQUEST: int
|
||||
ISAPI_SHUTDOWN: int
|
||||
|
||||
class WorkerThread(threading.Thread):
|
||||
running: bool
|
||||
io_req_port: Incomplete
|
||||
extension: Incomplete
|
||||
def __init__(self, extension, io_req_port) -> None: ...
|
||||
def call_handler(self, cblock) -> None: ...
|
||||
|
||||
class ThreadPoolExtension(isapi.simple.SimpleExtension):
|
||||
max_workers: int
|
||||
worker_shutdown_wait: int
|
||||
workers: Incomplete
|
||||
dispatch_map: Incomplete
|
||||
io_req_port: Incomplete
|
||||
def GetExtensionVersion(self, vi) -> None: ...
|
||||
def HttpExtensionProc(self, control_block): ...
|
||||
def TerminateExtension(self, status) -> None: ...
|
||||
def DispatchConnection(self, errCode, bytes, key, overlapped) -> None: ...
|
||||
def Dispatch(self, ecb) -> None: ...
|
||||
def HandleDispatchError(self, ecb) -> None: ...
|
||||
Reference in New Issue
Block a user