Package-level declarations

Types

Link copied to clipboard

A BiDiWsMessageLens provides the bi-directional extraction of an entity from a target body, or the insertion of an entity into a target WsMessage.

Link copied to clipboard
open class BiDiWsMessageLensSpec<OUT>(get: LensGet<WsMessage, OUT>, set: LensSet<WsMessage, OUT>) : WsMessageLensSpec<OUT>

Represents a bi-directional extraction of an entity from a target Body, or an insertion into a target WsMessage.

Link copied to clipboard
object SseMessage : BiDiLensSpec<SseMessage, String>
Link copied to clipboard
open class WsMessageLens<out FINAL>(getLens: (WsMessage) -> FINAL) : LensExtractor<WsMessage, FINAL>

A WsMessageLens provides the extraction of an entity from a target WsMessage.

Link copied to clipboard
open class WsMessageLensSpec<out OUT>(get: LensGet<WsMessage, OUT>)

Represents a extraction of an entity from a target WsMessage.

Properties

Link copied to clipboard
val Header.LAST_EVENT_ID: BiDiLens<HttpMessage, SseEventId?>

Functions

Link copied to clipboard
fun IntBiDiMappings.protocolStatus(): BiDiMapping<Int, ProtocolStatus>
Link copied to clipboard
Link copied to clipboard
fun <T : SseMessage> T.with(vararg modifiers: (T) -> T): T
fun WsMessage.with(vararg modifiers: (WsMessage) -> WsMessage): WsMessage
Link copied to clipboard
fun IntBiDiMappings.wsStatus(): BiDiMapping<Int, WsStatus>