api

http4k / org.http4k.lens / WsMessageLens / invoke

invoke

open operator fun invoke(target: WsMessage): FINAL

Lens operation to get the value from the target

Exceptions

LensFailure - if the value could not be retrieved from the target (missing/invalid etc)