view stubs/treq/content.pyi @ 1939:6f49dc917aa3

start vidref web version. v4l camera frames to web page is working Ignore-this: 34bcc3b6149a1a3bed31aa5f32a4ddc6
author Drew Perttula <drewp@bigasterisk.com>
date Mon, 03 Jun 2019 09:50:29 +0000
parents 0f0ff27e55a3
children
line wrap: on
line source

# Stubs for treq.content (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

from twisted.internet.protocol import Protocol
from typing import Any

class _BodyCollector(Protocol):
    finished: Any = ...
    collector: Any = ...
    def __init__(self, finished: Any, collector: Any) -> None: ...
    def dataReceived(self, data: Any) -> None: ...
    def connectionLost(self, reason: Any) -> None: ...

def collect(response: Any, collector: Any): ...
def content(response: Any): ...
def json_content(response: Any, **kwargs: Any): ...
def text_content(response: Any, encoding: str = ...): ...