Module wicrs_server::server[][src]

Server implementation.

Structs

ClientServerMessage

Messages sent to the server, usually from a websocket handler.

GetMessageServer

Tells the Server to get an address to it’s MessageServer.

MessageServer

Handles sending messages to be indexed by the search engine (tantivy) and actually querying the search engine.

SearchMessageIndex

Command for a MessageServer to search the given channel with a query.

Server
ServerResponse

Server’s response to a ClientServerMessage.

Enums

ClientCommand

Commands that the client can send the server.

HubUpdateType

Types of updates that trigger ServerNotification::HubUpdated

Response

Possible responses to a ClientServerMessage.

ServerMessage

Messages the server sends to clients based on subscriptions.

ServerNotification

Message to notify the server of a change made externally, usually used so the server can notify clients.