zio.http.stomp

package zio.http.stomp

Members list

Type members

Classlikes

object StompCodec

Binary codec for STOMP frames for use with WebSocket connections

Binary codec for STOMP frames for use with WebSocket connections

Attributes

Source
StompCodec.scala
Supertypes
class Object
trait Matchable
class Any
Self type
StompCodec.type
sealed trait StompCommand

STOMP Commands as defined by STOMP Protocol Specification 1.2 https://stomp.github.io/stomp-specification-1.2.html

STOMP Commands as defined by STOMP Protocol Specification 1.2 https://stomp.github.io/stomp-specification-1.2.html

Attributes

Companion
object
Source
StompCommand.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Abort
object Ack
object Begin
object Commit
object Connect
object Connected
object Disconnect
object Error
object Heartbeat
object Message
object Nack
object Receipt
object Send
object Stomp
object Subscribe
object Unsubscribe
Show all
object StompCommand

Attributes

Companion
trait
Source
StompCommand.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class StompFrame(command: StompCommand, headers: Map[String, String] = ..., body: Option[Chunk[Byte]] = ...)

STOMP Frame as defined by STOMP Protocol Specification 1.2 https://stomp.github.io/stomp-specification-1.2.html

STOMP Frame as defined by STOMP Protocol Specification 1.2 https://stomp.github.io/stomp-specification-1.2.html

A STOMP frame consists of:

  • Command (mandatory)
  • Headers (optional key-value pairs)
  • Body (optional)

Value parameters

body

Optional body content

command

The STOMP command (e.g., CONNECT, SEND, MESSAGE, etc.)

headers

Headers as key-value pairs

Attributes

Companion
object
Source
StompFrame.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object StompFrame

Attributes

Companion
class
Source
StompFrame.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
StompFrame.type
trait StompSyntax

Extension methods for working with STOMP frames in zio-http WebSocket connections

Extension methods for working with STOMP frames in zio-http WebSocket connections

Attributes

Companion
object
Source
StompSyntax.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object StompSyntax
object StompSyntax extends StompSyntax

Attributes

Companion
trait
Source
StompSyntax.scala
Supertypes
trait StompSyntax
class Object
trait Matchable
class Any
Self type
sealed trait StompVersion

STOMP Protocol Version support

STOMP Protocol Version support

Supports STOMP versions 1.0, 1.1, and 1.2 as defined by:

Attributes

Companion
object
Source
StompVersion.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object V1_0
object V1_1
object V1_2
object StompVersion

Attributes

Companion
trait
Source
StompVersion.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Inherited classlikes

implicit class StompFrameWebSocketOps(val stompFrame: StompFrame)

Extension methods for StompFrame to convert to WebSocketFrame

Extension methods for StompFrame to convert to WebSocketFrame

Attributes

Inherited from:
StompSyntax
Source
StompSyntax.scala
Supertypes
class Object
trait Matchable
class Any
implicit class WebSocketFrameStompOps(val frame: WebSocketFrame)

Extension methods for WebSocketFrame to encode/decode STOMP frames

Extension methods for WebSocketFrame to encode/decode STOMP frames

Attributes

Inherited from:
StompSyntax
Source
StompSyntax.scala
Supertypes
class Object
trait Matchable
class Any

Implicits

Inherited implicits

final implicit def StompFrameWebSocketOps(stompFrame: StompFrame): StompFrameWebSocketOps

Extension methods for StompFrame to convert to WebSocketFrame

Extension methods for StompFrame to convert to WebSocketFrame

Attributes

Inherited from:
StompSyntax
Source
StompSyntax.scala

Extension methods for WebSocketFrame to encode/decode STOMP frames

Extension methods for WebSocketFrame to encode/decode STOMP frames

Attributes

Inherited from:
StompSyntax
Source
StompSyntax.scala