com.alecdorrington.pageloader.tapir
Members list
Type members
Classlikes
A Tapir endpoint definition for responding to heartbeat messages using a WebSocket.
A Tapir endpoint definition for responding to heartbeat messages using a WebSocket.
This is the cross-platform base for HeartbearService, which adds the server-side logic on JVM.
Value parameters
- path
-
The URL path at which the endpoint is mounted.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class HeartbeatService[F]
class HeartbeatService[F[_]](path: EndpointInput[Unit] = ...) extends HeartbeatApi, TapirService[WebSockets & Fs2Streams[F], F]
A Tapir service for responding to heartbeat messages using a WebSocket.
A Tapir service for responding to heartbeat messages using a WebSocket.
Responds to every incoming WebSocket message with "ok".
Type parameters
- F
-
The effect type (e.g.
FutureorIO).
Value parameters
- path
-
The URL path at which the endpoint is mounted.
Attributes
- Supertypes
-
trait TapirService[WebSockets & Fs2Streams[F], F]class HeartbeatApiclass Objecttrait Matchableclass Any
object ViewEndpoint
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ViewEndpoint.type
In this article