com.alecdorrington.pageloader.tapir

Members list

Type members

Classlikes

class HeartbeatApi(path: EndpointInput[Unit] = ...)

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 Object
trait Matchable
class 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. Future or IO).

Value parameters

path

The URL path at which the endpoint is mounted.

Attributes

Supertypes
trait TapirService[WebSockets & Fs2Streams[F], F]
class HeartbeatApi
class Object
trait Matchable
class Any
object ViewEndpoint

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type