Class StreamingCollectionEndpoint<TEntity>
Endpoint for a collection of TEntity
s observable as an append-only stream using long-polling.
public class StreamingCollectionEndpoint<TEntity> : StreamingCollectionEndpoint<TEntity, ElementEndpoint<TEntity>>, ICachingEndpoint, IStreamingCollectionEndpoint<TEntity, ElementEndpoint<TEntity>>, ICollectionEndpoint<TEntity, ElementEndpoint<TEntity>>, IIndexerEndpoint<ElementEndpoint<TEntity>>, IStreamingCollectionEndpoint<TEntity>, IStreamingCollectionEndpoint<TEntity, IElementEndpoint<TEntity>>, ICollectionEndpoint<TEntity>, ICollectionEndpoint<TEntity, IElementEndpoint<TEntity>>, IIndexerEndpoint<IElementEndpoint<TEntity>>, IEndpoint where TEntity : class
Type Parameters
TEntity
The type of entity the endpoint represents.
- Inheritance
-
CollectionEndpoint<TEntity, ElementEndpoint<TEntity>>StreamingCollectionEndpoint<TEntity, ElementEndpoint<TEntity>>StreamingCollectionEndpoint<TEntity>
- Implements
-
IStreamingCollectionEndpoint<TEntity, ElementEndpoint<TEntity>>ICollectionEndpoint<TEntity, ElementEndpoint<TEntity>>IIndexerEndpoint<ElementEndpoint<TEntity>>IStreamingCollectionEndpoint<TEntity>IStreamingCollectionEndpoint<TEntity, IElementEndpoint<TEntity>>ICollectionEndpoint<TEntity>ICollectionEndpoint<TEntity, IElementEndpoint<TEntity>>IIndexerEndpoint<IElementEndpoint<TEntity>>
- Inherited Members
Constructors
StreamingCollectionEndpoint(IEndpoint, string)
Creates a new streaming collection endpoint.
public StreamingCollectionEndpoint(IEndpoint referrer, string relativeUri)
Parameters
referrer
IEndpointThe endpoint used to navigate to this one.
relativeUri
stringThe URI of this endpoint relative to the
referrer
's. Add a./
prefix here to imply a trailing slashreferrer
's URI.
StreamingCollectionEndpoint(IEndpoint, Uri)
Creates a new streaming collection endpoint.
public StreamingCollectionEndpoint(IEndpoint referrer, Uri relativeUri)