Enum ObservableQueryHubMessageType

Namespace
Cratis.Arc.Queries
Assembly
Cratis.Arc.Core.dll

Defines the types of messages exchanged in the ObservableQueryDemultiplexer protocol.

public enum ObservableQueryHubMessageType
Extension Methods

Fields

Connected = 7

Server advertises connection metadata and protocol capabilities after an observable query hub connection is established. SSE clients also use its connection identifier to correlate subscribe/unsubscribe POST requests with the stream.

Error = 4

Server notifies the client that an error occurred for a specific query subscription.

Ping = 5

Keep-alive ping message.

Pong = 6

Response to a ping message.

QueryResult = 2

Server pushes a query result update to the client.

Subscribe = 0

Client subscribes to an observable query.

Unauthorized = 3

Server notifies the client that the requested query is not authorized.

Unsubscribe = 1

Client unsubscribes from an observable query.