Package

com.github.agaro1121.rtm

client

Permalink

package client

Visibility
  1. Public
  2. All

Type Members

  1. trait AkkaStreamsComponents extends LazyLogging with GeneralEventEncoders with GeneralEventDecoders with RtmEncoders with RtmDecoders

    Permalink

    Some Akka Streams components for use

    Some Akka Streams components for use

    Websockets require Flow[Message, Message]

    The following pieces come together to form a sane flow

    wsMessage2Json ~> json2SlackEvent ~> [Your logic to respond goes here] ~> slackEvent2Json ~> json2WsMessage

    slackEvent2WsMessage is a summary of the outgoing flow (slackEvent2Json ~> json2WsMessage) and can be used in place of them

    it is equipped with asynchronous boundaries for a slight performance gain (hopefully)

    wsMessage2SlackEvent is a similar summary

  2. class RtmClient extends LazyLogging with AkkaStreamsComponents with AbilityToConnectToRtm

    Permalink

Value Members

  1. object RtmClient

    Permalink

Ungrouped