Skip to main content

CookieManagerEndpointBehavior

Adds the singleton instance of ServiceStack.CookieManagerMessageInspector to an endpoint on the client.

Based on http://megakemp.wordpress.com/2009/02/06/managing-shared-cookies-in-wcf/

Assembly: ServiceStack.Client.dll​
View Source​
Declaration
public class CookieManagerEndpointBehavior : IEndpointBehavior

Methods​

AddBindingParameters(ServiceEndpoint, BindingParameterCollection)​

View Source​
Declaration
public void AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection bindingParameters)
Parameters​
TypeName
System.ServiceModel.Description.ServiceEndpointendpoint
System.ServiceModel.Channels.BindingParameterCollectionbindingParameters

ApplyClientBehavior(ServiceEndpoint, ClientRuntime)​

Adds the singleton of the ServiceStack.CookieManagerMessageInspector class to the client endpoint's message inspectors.

View Source​
Declaration
public void ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime)
Parameters​
TypeNameDescription
System.ServiceModel.Description.ServiceEndpointendpointThe endpoint that is to be customized.

| | System.ServiceModel.Dispatcher.ClientRuntime | clientRuntime | The client runtime to be customized.

|

ApplyDispatchBehavior(ServiceEndpoint, EndpointDispatcher)​

View Source​
Declaration
public void ApplyDispatchBehavior(ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher)
Parameters​
TypeName
System.ServiceModel.Description.ServiceEndpointendpoint
System.ServiceModel.Dispatcher.EndpointDispatcherendpointDispatcher

Validate(ServiceEndpoint)​

View Source​
Declaration
public void Validate(ServiceEndpoint endpoint)
Parameters​
TypeName
System.ServiceModel.Description.ServiceEndpointendpoint

Implements​

  • System.ServiceModel.Description.IEndpointBehavior