zio.http.stomp.StompVersion
See theStompVersion companion trait
object StompVersion
Attributes
- Companion
- trait
- Source
- StompVersion.scala
- Graph
-
- Supertypes
- Self type
-
StompVersion.type
Members list
Type members
Classlikes
case object V1_0 extends StompVersion
STOMP 1.0 - Original specification
STOMP 1.0 - Original specification
- No header escaping
- No NACK command
- No heartbeat support
- Content-length is optional
Attributes
- Source
- StompVersion.scala
- Supertypes
- Self type
-
V1_0.type
case object V1_1 extends StompVersion
STOMP 1.1 - Added features
STOMP 1.1 - Added features
- Header escaping added
- NACK command added
- Heartbeat support added
- Content-length is recommended
Attributes
- Source
- StompVersion.scala
- Supertypes
- Self type
-
V1_1.type
case object V1_2 extends StompVersion
STOMP 1.2 - Latest specification (default)
STOMP 1.2 - Latest specification (default)
- All features from 1.1
- Improved header escaping rules
- Content-length is mandatory for binary data
Attributes
- Source
- StompVersion.scala
- Supertypes
- Self type
-
V1_2.type
Inherited and Abstract types
The names of the product elements
The name of the type
Value members
Concrete methods
Attributes
- Source
- StompVersion.scala
def negotiate(clientAcceptVersions: List[StompVersion], serverSupportedVersions: List[StompVersion] = ...): Option[StompVersion]
Negotiate version between client accepted versions and server supported versions Returns the highest mutually supported version
Negotiate version between client accepted versions and server supported versions Returns the highest mutually supported version
Attributes
- Source
- StompVersion.scala
Parse accept-version header to get list of supported versions
Concrete fields
Attributes
- Source
- StompVersion.scala
In this article