class Curator::Api::Controller
- Curator::Api::Controller
- Reference
- Object
Overview
API Controller
Responsible for accepting incoming event
data.
Exposes two endpoints
/ingest
WebSocket, which accepts event in json format/ingest
HTTP POST, which accepts events in ndjson format Hands off the event toRelay
Included Modules
Defined in:
api/controller.crConstructors
Instance Method Summary
- #auth : Curator::Utils::Auth
- #port : Int32
- #relay : Curator::Relay
-
#start
Starts the HTTP::Server to serve incoming requests.
- #stop