feathers.messaging.messages

..
AbstractMessage

Abstract base class for all messages. Messages have two customizable sections; headers and body. The headers property provides access to specialized meta information for a specific message instance. The headers property is an associative array with the specific header name as the key.

AcknowledgeMessage

An AcknowledgeMessage acknowledges the receipt of a message that was sent previously. Every message sent within the messaging system must receive an acknowledgement.

ActionMessage

The CommandMessage class provides a mechanism for sending commands to the server infrastructure, such as commands related to publish/subscribe messaging scenarios, ping operations, and cluster operations.

AsyncMessage

AsyncMessage is the base class for all asynchronous messages.

CommandMessage

The CommandMessage class provides a mechanism for sending commands to the server infrastructure, such as commands related to publish/subscribe messaging scenarios, ping operations, and cluster operations.

ErrorMessage

The ErrorMessage class is used to report errors within the messaging system. An error message only occurs in response to a message sent within the system.

HTTPRequestMessage

HTTP requests are sent to the HTTP endpoint using this message type. An HTTPRequestMessage encapsulates content and header information normally found in HTTP requests made by a browser.

IMessage

This interface defines the contract for message objects.

ISmallMessage

A marker interface that is used to indicate that an IMessage has an alternative smaller form for serialization.

MessageBody

The MessageBody for an ActionMessage

MessageHeader

The MessageHeader for an ActionMessage

MessagePerformanceUtils

The MessagePerformanceUtils utility class is used to retrieve various metrics about the sizing and timing of a message sent from a client to the server and its response message, as well as pushed messages from the server to the client.
Metrics are gathered when corresponding properties on the channel used are enabled: <record-message-times> denotes capturing of timing information, <record-message-sizes> denotes capturing of sizing information.

RemotingMessage

RemotingMessages are used to send RPC requests to a remote endpoint. These messages use the operation property to specify which method to call on the remote object. The destination property indicates what object/service should be used.