Update OnReconnect docs and README examples
Updated XML documentation in `OnReconnect.cs` to reference the updated `EmailSender.ConnectRabbitMq` method signature, clarifying its behavior when a connection is already established. Revised `README.md` examples to replace `OutgoingEmailEvent` with `Email` and removed `Id` and `QueuedAt` properties, as they are now set internally. Added a note to clarify required fields for the `Email` object. Added a new section to the `README.md` demonstrating how to check the connection status using `EmailSender.IsConnected`.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
namespace DigitalData.MessagingService.Client;
|
||||
|
||||
/// <summary>
|
||||
/// Defines the behavior when <see cref="EmailSender.ConnectRabbitMq"/> is called
|
||||
/// Defines the behavior when <see cref="EmailSender.ConnectRabbitMq(Action{RabbitMQ.RabbitMqConfiguration}, OnReconnect)"/> is called
|
||||
/// while a connection has already been established.
|
||||
/// </summary>
|
||||
public enum OnReconnect
|
||||
|
||||
Reference in New Issue
Block a user