mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-24 02:12:02 +01:00
* Add WebSockets * Add tests * fix * more tests * Add tests * ... * remove IOwin * - * tests * fluent * ok * match * . * byte[] * x * func * func * byte * trans * ... * frameworks......... * jmes * xxx * sc
29 lines
771 B
C#
29 lines
771 B
C#
// Copyright © WireMock.Net
|
|
|
|
using System;
|
|
using WireMock.ResponseProviders;
|
|
using WireMock.Settings;
|
|
using WireMock.WebSockets;
|
|
|
|
namespace WireMock.ResponseBuilders;
|
|
|
|
/// <summary>
|
|
/// The WebSocketResponseBuilder interface.
|
|
/// </summary>
|
|
public interface IWebSocketResponseBuilder : IResponseProvider
|
|
{
|
|
/// <summary>
|
|
/// Configure WebSocket response behavior
|
|
/// </summary>
|
|
IResponseBuilder WithWebSocket(Action<IWebSocketBuilder> configure);
|
|
|
|
/// <summary>
|
|
/// Proxy WebSocket to another server
|
|
/// </summary>
|
|
IResponseBuilder WithWebSocketProxy(string targetUrl);
|
|
|
|
/// <summary>
|
|
/// Proxy WebSocket to another server with settings
|
|
/// </summary>
|
|
IResponseBuilder WithWebSocketProxy(ProxyAndRecordSettings settings);
|
|
} |