// Copyright © WireMock.Net
namespace WireMock.Models;
///
/// Represents a single WebSocket message
///
public interface IWebSocketMessage
{
///
/// Gets the delay in milliseconds before sending this message
///
int DelayMs { get; }
///
/// Gets the message body as string (for text frames)
///
string? BodyAsString { get; }
///
/// Gets the message body as bytes (for binary frames)
///
byte[]? BodyAsBytes { get; }
///
/// Gets a value indicating whether this is a text frame (vs binary)
///
bool IsText { get; }
///
/// Gets the unique identifier for this message
///
string Id { get; }
///
/// Gets the correlation ID for request/response correlation
///
string? CorrelationId { get; }
}