Files @ 708cdf7c4dad
Branch filter:

Location: light9/stubs/cyclone/sse.pyi - annotation

Drew Perttula
types and import fixes. jquery dep for reconnecting websocket display
Ignore-this: f74f3abcc899abfe0da9c0e1497fd73e
# Stubs for cyclone.sse (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

from cyclone.web import RequestHandler
from typing import Any, Optional

class SSEHandler(RequestHandler):
    transport: Any = ...
    def __init__(self, application: Any, request: Any, **kwargs: Any) -> None: ...
    def sendEvent(self, message: Any, event: Optional[Any] = ..., eid: Optional[Any] = ..., retry: Optional[Any] = ...) -> None: ...
    def on_connection_closed(self, *args: Any, **kwargs: Any) -> None: ...
    def bind(self) -> None: ...
    def unbind(self) -> None: ...