type: requestin a Directive handler. There is another type of input called
streamwhich allows Atmo to listen to streaming data sources and handle messages it receives from them.
resourcedefines the URI that the websocket handler is available on, and it uses Atmo's built-in server to expose these endpoints. Each message sent by the client over this connection is handled by executing the
stepsin the handler.