dev.cheleb.ziotapir
Members list
Packages
Type members
Classlikes
A client to the backend, extending the endpoints as methods.
A client to the backend, extending the endpoints as methods.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class BackendClientLive
Configuration for the backend client.
Configuration for the backend client.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The live implementation of the BackendClient.
The live implementation of the BackendClient.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait BackendClientclass Objecttrait Matchableclass AnyShow all
The live implementation of the BackendClient.
The live implementation of the BackendClient.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Represents an HTTP error with a status code, message, and cause.
Represents an HTTP error with a status code, message, and cause.
Attributes
- Companion
- object
- Supertypes
-
trait Producttrait Equalsclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Typed exception for restricted endpoints.
Typed exception for restricted endpoints.
Attributes
- Supertypes
-
trait Producttrait Equalsclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
A session management interface for Laminar applications.
A session management interface for Laminar applications.
Type parameters
- UserToken
-
is covariant to allow Session[SubType]. The type of the user token, which should extend dev.cheleb.ziojwt.WithToken.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait LaminarSession[UserToken]class LaminarSessionLive[UserToken]
Extensions
Extensions
Call the endpoint with a payload, and get a ZIO back.
Call the endpoint with a payload, and get a ZIO back.
Attributes
Closes the WebSocket connection gracefully by sending a Close frame and shutting down the hub.
Closes the WebSocket connection gracefully by sending a Close frame and shutting down the hub.
Attributes
- Returns
-
A
UIO[Unit]that completes when the close operation is done.
Sends a text message over the WebSocket.
Sends a text message over the WebSocket.
Attributes
- Returns
-
A
UIO[Boolean]indicating whether the message was successfully published.
Call the WebSocket endpoint with a payload, and get a ZIO back.
Call the WebSocket endpoint with a payload, and get a ZIO back.
Attributes
Extension to ZIO[Any, E, A] that allows us to run in JS.
Extension to ZIO[Any, E, A] that allows us to run in JS.
Value parameters
- zio
-
the ZIO to run