http4k / org.http4k.lens / WsMessageLensSpec
open class WsMessageLensSpec<out OUT>
Represents a extraction of an entity from a target WsMessage.
Name | Summary |
---|---|
<init> | Represents a extraction of an entity from a target WsMessage.WsMessageLensSpec(get: LensGet < WsMessage , OUT>) |
Name | Summary |
---|---|
map | Create another WsMessageLensSpec which applies the uni-directional transformation to the result. Any resultant Lens can only be used to extract the final type from a WsMessage.fun <NEXT> map(nextIn: (OUT) -> NEXT): WsMessageLensSpec <NEXT> |
toLens | Create a lens for this Specopen fun toLens(): WsMessageLens <OUT> |
Name | Summary |
---|---|
BiDiWsMessageLensSpec | Represents a bi-directional extraction of an entity from a target Body, or an insertion into a target WsMessage.open class BiDiWsMessageLensSpec<OUT> : WsMessageLensSpec <OUT> |