EndpointExtensions

zio.http.datastar.DatastarPackageBase.EndpointExtensions
implicit class EndpointExtensions(endpoint: Endpoint.type)

Attributes

Source
DatastarPackageBase.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def datastar[Input](route: RoutePattern[Input]): Endpoint[Input, Input, ZNothing, ZStream[Any, Nothing, ServerSentEvent[String]], None.type]

Attributes

Source
DatastarPackageBase.scala
def datastarEvent[Input](route: RoutePattern[Input]): Endpoint[Input, Input, ZNothing, DatastarEvent, None.type]

Attributes

Source
DatastarPackageBase.scala
def datastarEvents[Input](route: RoutePattern[Input]): Endpoint[Input, Input, ZNothing, ZStream[Any, Nothing, DatastarEvent], None.type]

Attributes

Source
DatastarPackageBase.scala