class PlaceOS::Api::WebSocket::Manager

Overview

Stores sessions until their websocket closes

Defined in:

placeos-rest-api/websocket/manager.cr

Constant Summary

Log = ::Log.for(self)

Constructors

Instance Method Summary

Constructor Detail

def self.new(discovery : HoundDog::Discovery) #

[View source]

Instance Method Detail

def create_session(ws, request_id, user) #

Creates the session and handles the cleanup


[View source]