SecWebSocketExtensions

zio.http.Header.SecWebSocketExtensions
See theSecWebSocketExtensions companion trait

The Sec-WebSocket-Extensions header is used in the WebSocket handshake. It is initially sent from the client to the server, and then subsequently sent from the server to the client, to agree on a set of protocol-level extensions to use during the connection.

See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-WebSocket-Extensions

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
trait HeaderType
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

object Extension

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Extension.type
sealed trait Extension

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Parameter
class TokenParam
final case class Extensions(extensions: Chunk[Token]) extends SecWebSocketExtensions

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
final case class Token(extension: Chunk[Extension]) extends SecWebSocketExtensions

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all

Types

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

override def name: String

Attributes

Definition Classes
def parse(value: String): Either[String, SecWebSocketExtensions]
def render(secWebSocketExtensions: SecWebSocketExtensions): String