Package-level declarations
Reactive endpoints allow you to receive data as push streams rather than explicitly pulling.
Types
Link copied to clipboard
interface GenericStreamingCollectionEndpoint<TEntity : Any, TElementEndpoint : ElementEndpoint<TEntity>> : GenericCollectionEndpoint<TEntity, TElementEndpoint>
Endpoint for a collection of TEntitys observable as an append-only stream.
Link copied to clipboard
open class GenericStreamingCollectionEndpointImpl<TEntity : Any, TElementEndpoint : ElementEndpoint<TEntity>>(referrer: Endpoint, relativeUri: URI, entityType: Class<TEntity>, elementEndpointFactory: (referrer: Endpoint, relativeUri: URI) -> TElementEndpoint) : GenericCollectionEndpointImpl<TEntity, TElementEndpoint> , GenericStreamingCollectionEndpoint<TEntity, TElementEndpoint>
Endpoint for a collection of TEntitys observable as an append-only stream.
Link copied to clipboard
Endpoint for a resource that can be polled for state changes.
Link copied to clipboard
open class PollingEndpointImpl<TEntity : Any>(referrer: Endpoint, relativeUri: URI, entityType: Class<TEntity>, endCondition: (TEntity) -> Boolean? = null) : ElementEndpointImpl<TEntity> , PollingEndpoint<TEntity>
Endpoint for a resource that can be polled for state changes.
Link copied to clipboard
open class SseStreamingEndpointImpl<TEntity : Any>(referrer: Endpoint, relativeUri: URI, entityType: Class<TEntity>, eventType: String? = null) : AbstractEndpoint, StreamingEndpoint<TEntity>
Endpoint for a stream of TEntitys using Server-Sent Events (SSE).
Link copied to clipboard
interface StreamingCollectionEndpoint<TEntity : Any> : GenericStreamingCollectionEndpoint<TEntity, ElementEndpoint<TEntity>>
Endpoint for a collection of TEntitys observable as an append-only stream.
Link copied to clipboard
open class StreamingCollectionEndpointImpl<TEntity : Any> : GenericStreamingCollectionEndpointImpl<TEntity, ElementEndpoint<TEntity>> , StreamingCollectionEndpoint<TEntity>
Endpoint for a collection of TEntitys observable as an append-only stream using long-polling.
Link copied to clipboard
Endpoint for a stream of TEntitys.
Link copied to clipboard
open class StreamingEndpointImpl<TEntity : Any>(referrer: Endpoint, relativeUri: URI, entityType: Class<TEntity>, separator: String = "") : AbstractEndpoint, StreamingEndpoint<TEntity>
Endpoint for a stream of TEntitys using a persistent HTTP connection.