Curator::Forwards::Forward
Inherits Reference < Object
Responsible for maintaining the websocket connection
And sending the event data through to the forward server.
Has 2 long running Fibers.
- To maintain the forward websocket connection. Polls the connection every second.
- To flush the buffer if there is an available connection and data in buffer. Polls the buffer 5000 per second.
Constructors
new(url : URI, api_key : String)
SourceInstance methods
api_key
Sourcebuffer
Sourcebuffer=(buffer : Curator::Utils::RingBuffer)
Sourcesocket
Sourcesocket=(socket : HTTP::WebSocket | Nil)
Sourceurl
Source