api

http4k / org.http4k.jsonrpc

Package org.http4k.jsonrpc

Types

Name Summary
ErrorMessage open class ErrorMessage
JsonRpc object JsonRpc
JsonRpcMethodBinding data class JsonRpcMethodBinding<IN, OUT>
JsonRpcService data class JsonRpcService<NODE : Any> : HttpHandler
Mapping class Mapping<IN : Any, OUT> : Lens<IN, OUT>
MethodBindings interface MethodBindings<NODE> : Iterable<JsonRpcMethodBinding<NODE, NODE>>

Type Aliases

Name Summary
ErrorHandler typealias ErrorHandler = (Throwable) -> ErrorMessage?
JsonRpcHandler typealias JsonRpcHandler<IN, OUT> = (IN) -> OUT