// Copyright © WireMock.Net
using System.Collections.Generic;
using WireMock.Types;
namespace WireMock.WebSockets;
///
/// Represents a WebSocket connection request for matching purposes.
///
public class WebSocketConnectRequest
{
///
/// Gets the request path.
///
public string Path { get; init; } = string.Empty;
///
/// Gets the request headers.
///
public IDictionary> Headers { get; init; } = new Dictionary>();
///
/// Gets the requested subprotocols.
///
public IList SubProtocols { get; init; } = new List();
///
/// Gets the remote address (client IP).
///
public string? RemoteAddress { get; init; }
///
/// Gets the local address (server IP).
///
public string? LocalAddress { get; init; }
}