WebSocketExtensionHeader

class WebSocketExtensionHeader(name: String, parameters: List<String>)

Parsed Sec-WebSocket-Accept header item representation.

Parameters

name

is extension name.

parameters

is list of extension parameters.

Constructors

Link copied to clipboard
fun WebSocketExtensionHeader(name: String, parameters: List<String>)

Functions

Link copied to clipboard
fun parseParameters(): Sequence<Pair<String, String>>

Parse parameters keys and values

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val parameters: List<String>