Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Client
Inherits
Reference
<
Object
Client Class (registered to ClientManager automatically)
Constructors
new
(ws :
HTTP::WebSocket
)
Source
Instance methods
alive?
(timeout :
Time::Span
) :
Bool
Source
broadcast_event
(event :
Nostr::Event
)
Source
close
Source
subscribe
(id :
String
, filters :
Array
(
Nostr::Filter
))
Source
subscriptions
Source
touch
Source
unsubscribe
(id :
String
)
Source
ws
Source