dev.cheleb.ziolaminartapir
Members list
Type members
Classlikes
Configuration for the backend client.
Configuration for the backend client.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A client to the backend, extending the endpoints as methods.
A client to the backend, extending the endpoints as methods.
This client is used to call the backend from the frontend, but base URI must be provided at each call.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
The live implementation of the BackendClient with a different origin.
The live implementation of the BackendClient with a different origin.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Typed exception for restricted endpoints.
Typed exception for restricted endpoints.
Attributes
- Supertypes
-
trait Producttrait Equalsclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
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
The live implementation of the BackendClient.
The live implementation of the BackendClient.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class SessionLive[UserToken]
Attributes
- Supertypes
Types
Extension methods for ZIO JS.
Extension methods for ZIO JS.
Extension are of two kinds:
- targeting Endpoints: allowing to call an endpoint with a payload
- targeting ZIO: allowing to run a ZIO in JS
Also, there are two kinds of ZIO, and associated 2 extensions:
- SameOriginBackendClient: for requests to the same origin
- DifferentOriginBackendClient: for requests to a different origin
Attributes
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
Call the endpoint with a payload on a different backend than the origin, and get a ZIO back.
Call the endpoint with a payload on a different backend than the origin, and get a ZIO back.
Attributes
Call the secured endpoint with a payload, and get a ZIO back.
Call the secured endpoint with a payload, and get a ZIO back.
Attributes
Call the secured endpoint with a payload on a different backend than the origin, and get a ZIO back.
Call the secured endpoint with a payload on a different backend than the origin, and get a ZIO back.
Attributes
Emit the result of the ZIO to an EventBus.
Emit the result of the ZIO to an EventBus.
Underlying request to the default backend.
Attributes
Emit the result and error of the ZIO to an EventBus.
Emit the result and error of the ZIO to an EventBus.
Underlying request to the default backend.
Attributes
Emit the result of the ZIO to an EventBus of Either.
Emit the result of the ZIO to an EventBus of Either.
Underlying request to the default backend.
Value parameters
- bus
-
event bus to emit the result to
Attributes
Run the ZIO in JS.
Run the ZIO in JS.
Attributes
Run the ZIO in JS, and emit the error to an EventBus.
Run the ZIO in JS, and emit the error to an EventBus.
Value parameters
- errorBus
-
the event bus to emit the error to
Attributes
Emit the result of the ZIO to an EventBus, and return the EventStream.
Emit the result of the ZIO to an EventBus, and return the EventStream.
Attributes
Emit the result of the ZIO to an EventBus.
Emit the result of the ZIO to an EventBus.
Underlying request to the default backend.
Attributes
Emit the result and error of the ZIO to an EventBus.
Emit the result and error of the ZIO to an EventBus.
Underlying request to the default backend.
Attributes
Emit the result of the ZIO to an EventBus of Either.
Emit the result of the ZIO to an EventBus of Either.
Underlying request to the default backend.
Value parameters
- bus
-
event bus to emit the result to
Attributes
Run the ZIO in JS.
Run the ZIO in JS.
Attributes
Run the ZIO in JS, and emit the error to an EventBus.
Run the ZIO in JS, and emit the error to an EventBus.
Value parameters
- errorBus
-
the event bus to emit the error to
Attributes
Emit the result of the ZIO to an EventBus, and return the EventStream.
Emit the result of the ZIO to an EventBus, and return the EventStream.