api

http4k / org.http4k.lens / WsMessageLens

WsMessageLens

open class WsMessageLens<out FINAL> : LensExtractor<WsMessage, FINAL>

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

Constructors

Name Summary
<init> A WsMessageLens provides the extraction of an entity from a target WsMessage.WsMessageLens(getLens: (WsMessage) -> FINAL)

Functions

Name Summary
invoke Lens operation to get the value from the targetopen operator fun invoke(target: WsMessage): FINAL

Inheritors

Name Summary
BiDiWsMessageLens A BiDiWsMessageLens provides the bi-directional extraction of an entity from a target body, or the insertion of an entity into a target WsMessage.class BiDiWsMessageLens<FINAL> : WsMessageLens<FINAL>