dev.cheleb.ziotapir.laminar
Members list
Type members
Classlikes
A session management interface for Laminar applications.
A session management interface for Laminar applications.
Type parameters
- UserToken
-
The type of the user token, which should extend dev.cheleb.ziojwt.WithToken.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class SessionLive[UserToken]
Attributes
- Supertypes
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 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 endpoint with a payload, and get a ZIO back.
Call the endpoint with a payload, and get a ZIO back.
Attributes
Call the secured stream endpoint with a payload, and get a ZIO back.
Call the secured stream endpoint with a payload, and get a ZIO back.
Attributes
Run zio on same origin and emit the result to an EventBus.
Run zio on same origin and emit the result to an EventBus.
Prints the error to the console if the ZIO fails.
Type parameters
- A
-
the type of the result
Value parameters
- bus
-
event bus to emit the result to
Attributes
Run zio on different origin and emit the result to an EventBus.
Run zio on different origin and emit the result to an EventBus.
Prints the error to the console if the ZIO fails.
Type parameters
- A
-
the type of the result
Value parameters
- bus
-
event bus to emit the result to
Attributes
Run zio on same origin and emit the result and error of the ZIO to an EventBus.
Run zio on same origin and emit the result and error of the ZIO to an EventBus.
Value parameters
- bus
-
event bus to emit the result to
- error
-
event bus to emit the error to
Attributes
Run zio on different origin and emit the result and error of the ZIO to an EventBus.
Run zio on different origin and emit the result and error of the ZIO to an EventBus.
Value parameters
- bus
-
event bus to emit the result to
- error
-
event bus to emit the error to
Attributes
Run zio on same origin and emit the result of the ZIO to an EventBus of Either.
Run zio on same origin and 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 zio on different origin and emit the result of the ZIO to an EventBus of Either.
Run zio on different origin and emit the result of the ZIO to an EventBus of Either.
Underlying request to the default backend.
Type parameters
- A
-
the type of the result
- E
-
the type of the error
Value parameters
- bus
-
event bus to emit the result to
- uri
-
the URI to run the request on
Attributes
Run the ZIO in JS and print the error to the console.
Run the ZIO in JS and print the error to the console.
This method is useful for debugging, as it will print the error message to the console if the ZIO fails.
Attributes
Run the ZIO in JS and print the error to the console.
Run the ZIO in JS and print the error to the console.
This method is useful for debugging, as it will print the error message to the console if the ZIO fails. *
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
Run the ZIO in JS on a specific URI, and emit the error to an EventBus.
Run the ZIO in JS on a specific URI, and emit the error to an EventBus.
Value parameters
- errorBus
-
the event bus to emit the error to
- uri
-
the URI to run the request on
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, and return the EventStream.
Emit the result of the ZIO to an EventBus, and return the EventStream.
Attributes
Parse a JSONL stream from a URI (different from origin) as a stream of O and apply a function to each one to Unit.
Parse a JSONL stream from a URI (different from origin) as a stream of O and apply a function to each one to Unit.
Type parameters
- O
-
the type of the parsed object, which must have a JsonCodec instance available.
Value parameters
- f
-
function to apply
Attributes
Parse a JSONL stream as a stream of O and apply a function to each one to Unit.
Parse a JSONL stream as a stream of O and apply a function to each one to Unit.
Type parameters
- O
-
the type of the parsed object, which must have a JsonCodec instance available.
Value parameters
- f
-
function to apply
Attributes
Parse a JSONL stream as a stream of Either[String, O] and apply a function to each one to Unit.
Parse a JSONL stream as a stream of Either[String, O] and apply a function to each one to Unit.
Type parameters
- O
-
the type of the parsed object, which must have a JsonCodec instance available.
Value parameters
- f
-
function to apply
Attributes
Parse a JSONL stream from a URI (different from origin) as a stream of Either[String, O] and apply a function to each one to Unit.
Parse a JSONL stream from a URI (different from origin) as a stream of Either[String, O] and apply a function to each one to Unit.
Type parameters
- O
-
the type of the parsed object, which must have a JsonCodec instance available.
Value parameters
- f
-
function to apply
Attributes
Parse a JSONL stream as a stream of Either[String, O] and apply a function to each one to Task[Unit].
Parse a JSONL stream as a stream of Either[String, O] and apply a function to each one to Task[Unit].
Type parameters
- O
-
the type of the parsed object, which must have a JsonCodec instance available.
Value parameters
- f
-
function to apply
Attributes
Parse a JSONL stream as a stream of Either[String, O] and apply a function to each one to Task[Unit].
Parse a JSONL stream as a stream of Either[String, O] and apply a function to each one to Task[Unit].
Type parameters
- O
-
the type of the parsed object, which must have a JsonCodec instance available.
Value parameters
- f
-
function to apply
Attributes
Parse a JSONL stream and fold it over a state.
Parse a JSONL stream and fold it over a state.
Type parameters
- O
-
the type of the parsed object, which must have a JsonCodec instance available.
- S
-
the type of the state to fold over the stream
Value parameters
- f
-
function to apply
- s
-
initial state to fold over the stream
Attributes
- Returns
-
a ZIO that returns the final state after folding over the stream.
Parse a JSONL stream from a URI (different from origin) and fold it over a state.
Parse a JSONL stream from a URI (different from origin) and fold it over a state.
Type parameters
- O
-
the type of the parsed object, which must have a JsonCodec instance available.
- S
-
the type of the state to fold over the stream
Value parameters
- f
-
function to apply
- s
-
initial state to fold over the stream
- uri
-
the URI to run the request on
Attributes
- Returns
-
a ZIO that returns the final state after folding over the stream.
Parse a JSONL stream and fold it over a state.
Parse a JSONL stream and fold it over a state.
Type parameters
- O
-
the type of the parsed object, which must have a JsonCodec instance available.
- S
-
the type of the state to fold over the stream
Value parameters
- f
-
function to apply
- s
-
initial state to fold over the stream
Attributes
- Returns
-
a ZIO that returns the final state after folding over the stream.
Parse a JSONL stream from a URI (different from origin) and fold it over a state.
Parse a JSONL stream from a URI (different from origin) and fold it over a state.
Type parameters
- O
-
the type of the parsed object, which must have a JsonCodec instance available.
- S
-
the type of the state to fold over the stream
Value parameters
- f
-
function to apply
- s
-
initial state to fold over the stream
- uri
-
the URI to run the request on
Attributes
- Returns
-
a ZIO that returns the final state after folding over the stream.
Parse a JSONL stream as a stream of O and apply a function to each one to Task[Unit].
Parse a JSONL stream as a stream of O and apply a function to each one to Task[Unit].
Simply ignores the JSON parsing errors.
Type parameters
- O
-
the type of the parsed object, which must have a JsonCodec instance available.
Value parameters
- f
-
function to apply
Attributes
Parse a JSONL stream from a URI (different from origin) as a stream of O and apply a function to each one to Task[Unit].
Parse a JSONL stream from a URI (different from origin) as a stream of O and apply a function to each one to Task[Unit].
Simply ignores the JSON parsing errors.
Type parameters
- O
-
the type of the parsed object, which must have a JsonCodec instance available.
Value parameters
- f
-
function to apply