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 = 7Server 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 = 4Server notifies the client that an error occurred for a specific query subscription.
Ping = 5Keep-alive ping message.
Pong = 6Response to a ping message.
QueryResult = 2Server pushes a query result update to the client.
Subscribe = 0Client subscribes to an observable query.
Server notifies the client that the requested query is not authorized.
Unsubscribe = 1Client unsubscribes from an observable query.