Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.api.APIEventStream Class Reference
Inheritance diagram for homeassistant.components.api.APIEventStream:
[legend]
Collaboration diagram for homeassistant.components.api.APIEventStream:
[legend]

Public Member Functions

web.StreamResponse get (self, web.Request request)
 

Static Public Attributes

string name = "api:stream"
 
 url = URL_API_STREAM
 

Detailed Description

View to handle EventStream requests.

Definition at line 128 of file __init__.py.

Member Function Documentation

◆ get()

web.StreamResponse homeassistant.components.api.APIEventStream.get (   self,
web.Request  request 
)
Provide a streaming interface for the event bus.

Definition at line 135 of file __init__.py.

Member Data Documentation

◆ name

string homeassistant.components.api.APIEventStream.name = "api:stream"
static

Definition at line 132 of file __init__.py.

◆ url

homeassistant.components.api.APIEventStream.url = URL_API_STREAM
static

Definition at line 131 of file __init__.py.


The documentation for this class was generated from the following file: