HTTP server using Tapir
Tapir is a library for rapidly developing HTTP APIs. It integrates with a number of Scala stacks, including direct-style server interpreters.
The integration is included in the Tapir library and includes:
exposing regular HTTP endpoints (consuming/producing JSON etc.)
streaming request & response bodies, converted to/from
Flows viaInputStreamsweb sockets represented as a transformation between incoming & outgoing
Flows of web socket framesSSE response bodies
For more details refer to the Tapir documentation, specifically:
usage examples, tagged with the
Directlabeltutorials, which mostly use the direct-style approach