19 lines
550 B
C#
19 lines
550 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.ServiceModel.Channels;
|
|
using System.ServiceModel.Description;
|
|
using System.ServiceModel.Dispatcher;
|
|
using System.Text;
|
|
|
|
namespace Taloyhtio.GeneralApi.IntegrationUtility.Infrastructure
|
|
{
|
|
public class PoxClientBehavior : WebHttpBehavior
|
|
{
|
|
protected override void AddClientErrorInspector(ServiceEndpoint endpoint, ClientRuntime clientRuntime)
|
|
{
|
|
clientRuntime.MessageInspectors.Add(new PoxClientMessageInspector());
|
|
}
|
|
}
|
|
}
|