//
// ConnectionHandlerExtensions.cs
//
// Copyright (c) František Boháček. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using NosSmooth.Comms.Core;
using NosSmooth.Comms.Inject.Messages;
using NosSmooth.Core.Contracts;
namespace NosSmooth.Comms.Local.Extensions;
///
/// Extension methods for .
///
public static class ConnectionHandlerExtensions
{
///
/// Contract , .
///
/// The connection handler.
/// The request.
/// The contract.
public static IContract ContractRunClient
(this ConnectionHandler connectionHandler, RunClientRequest message)
=> connectionHandler.ContractCustomResponse(message, _ => true);
}