class PlaceOS::Edge::Server

Defined in:

placeos-edge/server.cr

Constant Summary

Log = ::Log.for(self)

Macro Summary

Instance Method Summary

Macro Detail

macro method_missing(call) #

Macro generated calls for each Core::ProcessManager::Edge


[View source]

Instance Method Detail

def for?(edge_id : String) #

Look up ProcessManager::Edge for an edge_id


[View source]
def for?(edge_id : String, & : ProcessManager::Edge) #

Look up ProcessManager::Edge for an edge_id


[View source]
def manage_edge(edge_id : String, socket : HTTP::WebSocket) #

Maintains an Edge API, cleaning up after the socket closes


[View source]