public void ApplyDispatchBehavior(ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher) { var inspector = new StreamingSecurityMessageInspector(); endpointDispatcher.DispatchRuntime.MessageInspectors.Add(inspector); }
public void ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime) { var inspector = new StreamingSecurityMessageInspector(); clientRuntime.MessageInspectors.Add(inspector); }