Class EnvelopeHttpMessage
- Namespace
- GroupeIsa.Neos.Shared.ClusterCommunication
- Assembly
- GroupeIsa.Neos.Shared.dll
Represents a envelop which contains payload for Http communication for Pipe communication.
public class EnvelopeHttpMessage : EnvelopeHttpMessageBase
- Inheritance
-
EnvelopeHttpMessage
- Inherited Members
Constructors
EnvelopeHttpMessage(string, string?, string?, string?, IDictionary<string, string>, object?)
Initializes a new instance of the EnvelopeHttpMessage class.
public EnvelopeHttpMessage(string correlationId, string? tenantIdentifier, string? neosUser, string? connectionId, IDictionary<string, string> applicationContext, object? payload)
Parameters
correlationIdstringThe correlation identifier for keep context in communication inter-cluster.
tenantIdentifierstringThe tenant identifier.
neosUserstringThe user information, like name and mail.
connectionIdstringConnection id.
applicationContextIDictionary<string, string>The application context.
payloadobjectPayload to send.
Properties
ContentType
Gets content type. For UseCommunication middleware only.
public string ContentType { get; }
Property Value
Payload
Gets the payload.
public object? Payload { get; }
Property Value
PayloadType
Gets payload Type. For Deserialization JSON only.
public string? PayloadType { get; }
Property Value
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.