mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-02-19 08:47:41 +01:00
29 lines
710 B
C#
29 lines
710 B
C#
// Copyright © WireMock.Net
|
|
|
|
namespace WireMock.WebSockets;
|
|
|
|
/// <summary>
|
|
/// Model for WebSocket message transformation
|
|
/// </summary>
|
|
internal struct WebSocketTransformModel
|
|
{
|
|
/// <summary>
|
|
/// The mapping that matched this WebSocket request
|
|
/// </summary>
|
|
public IMapping Mapping { get; set; }
|
|
|
|
/// <summary>
|
|
/// The original request that initiated the WebSocket connection
|
|
/// </summary>
|
|
public IRequestMessage Request { get; set; }
|
|
|
|
/// <summary>
|
|
/// The incoming WebSocket message
|
|
/// </summary>
|
|
public WebSocketMessage Message { get; set; }
|
|
|
|
/// <summary>
|
|
/// The mapping data as object
|
|
/// </summary>
|
|
public object? Data { get; set; }
|
|
} |