A Twirp-compatible HTTP server/router.
TwinagleExceptions are returned as conformant JSON responses, other exceptions are mapped
to twirp internal errors.
TODO:
- extensibility/observability (metrics, logging, tracing, exception tracking, etc)
- do (de-)serialization errors need special handling?
Linear Supertypes
Service[Request, Response], Closable, (Request) ⇒ Future[Response], AnyRef, Any
A Twirp-compatible HTTP server/router. TwinagleExceptions are returned as conformant JSON responses, other exceptions are mapped to twirp internal errors.
TODO: - extensibility/observability (metrics, logging, tracing, exception tracking, etc) - do (de-)serialization errors need special handling?