Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
local.pyi25 linesDownload Raw Back to mitmproxy_rs
1from __future__ import annotations2 3from collections.abc import Awaitable, Callable4from typing import final5from . import Stream6 7async def start_local_redirector(8    handle_tcp_stream: Callable[[Stream], Awaitable[None]],9    handle_udp_stream: Callable[[Stream], Awaitable[None]],10) -> LocalRedirector: ...11@final12class LocalRedirector:13    @staticmethod14    def describe_spec(spec: str) -> None: ...15    def set_intercept(self, spec: str) -> None: ...16    def close(self) -> None: ...17    async def wait_closed(self) -> None: ...18    @staticmethod19    def unavailable_reason() -> str | None: ...20 21__all__ = [22    "start_local_redirector",23    "LocalRedirector",24]25 
codekingpro/portable-devtools · Team Ai