Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.websocket_api.http.WebsocketAPIView Class Reference
Inheritance diagram for homeassistant.components.websocket_api.http.WebsocketAPIView:
[legend]
Collaboration diagram for homeassistant.components.websocket_api.http.WebsocketAPIView:
[legend]

Public Member Functions

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

Static Public Attributes

 bool
 
 str
 

Detailed Description

View to serve a websockets endpoint.

Definition at line 48 of file http.py.

Member Function Documentation

◆ get()

web.WebSocketResponse homeassistant.components.websocket_api.http.WebsocketAPIView.get (   self,
web.Request  request 
)
Handle an incoming websocket connection.

Definition at line 55 of file http.py.

Member Data Documentation

◆ bool

homeassistant.components.websocket_api.http.WebsocketAPIView.bool
static

Definition at line 53 of file http.py.

◆ str

homeassistant.components.websocket_api.http.WebsocketAPIView.str
static

Definition at line 51 of file http.py.


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