Package

play.socketio

scaladsl

Permalink

package scaladsl

Visibility
  1. Public
  2. All

Type Members

  1. final class SocketIO extends AnyRef

    Permalink

    The engine.io system.

    The engine.io system. Allows you to create engine.io controllers for handling engine.io connections.

  2. trait SocketIOArgDecoder[+T] extends SocketIOArgsDecoder[T]

    Permalink

    A specialisation of SocketIOArgsDecoder that only decodes a single argument.

    A specialisation of SocketIOArgsDecoder that only decodes a single argument.

    This allows the codec DSL to enrich implicitly with combinators for building multiple argument decoders.

  3. trait SocketIOArgEncoder[-T] extends SocketIOArgsEncoder[T]

    Permalink

    A specialisation of SocketIOArgsEncoder that only encodes a single argument.

    A specialisation of SocketIOArgsEncoder that only encodes a single argument.

    This allows the codec DSL to enrich implicitly with combinators for building multiple argument encoders.

  4. trait SocketIOArgsDecoder[+T] extends SocketIOEventDecoder[T]

    Permalink

    A specialisation of SocketIOEventCodec.SocketIOEventDecoder that just decodes arguments.

    A specialisation of SocketIOEventCodec.SocketIOEventDecoder that just decodes arguments.

    This allows the codec DSL to enrich implicitly with combinators for building multi argument decoders.

  5. trait SocketIOArgsEncoder[-T] extends SocketIOEventEncoder[T]

    Permalink

    A specialisation of SocketIOEventCodec.SocketIOEventEncoder that just encodes arguments.

    A specialisation of SocketIOEventCodec.SocketIOEventEncoder that just encodes arguments.

    This allows the codec DSL to enrich implicitly with combinators for building multi argument encoders.

  6. trait SocketIOComponents extends EngineIOComponents

    Permalink

    Provides socket.io components

    Provides socket.io components

    Mix this trait into your application cake to get an instance of SocketIO to build your socket.io engine with.

  7. class SocketIOEventCodecException extends RuntimeException

    Permalink

    Exception thrown when there was an error encoding or decoding an event.

Value Members

  1. object NamespaceWithQuery

    Permalink

    Extractor for matching namespaces that have queries.

    Extractor for matching namespaces that have queries.

    Can be used with a namespace partial function, for example:

    addNamespace(decoder, encoder) {
      case (session, NamespaceWithQuery("/chat", query)) =>
        ...
    }
  2. object SocketIOArgDecoder

    Permalink

    Convenience functions for creating SocketIOArgDecoder instances.

  3. object SocketIOArgEncoder

    Permalink

    Convenience functions for creating SocketIOArgEncoder instances.

  4. object SocketIOArgsDecoder

    Permalink

    Utilities for creating SocketIOArgsDecoder instances.

  5. object SocketIOArgsEncoder

    Permalink

    Convenience functions for creating SocketIOArgsEncoder instances.

  6. object SocketIOEventCodec

    Permalink

    DSL for creating a codec for socket.io.

Ungrouped