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
Type | Name |
---|---|
System.ServiceModel.Description.ServiceEndpoint | endpoint |
System.ServiceModel.Channels.BindingParameterCollection | bindingParameters |
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
Type | Name | Description |
---|---|---|
System.ServiceModel.Description.ServiceEndpoint | endpoint | The 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
Type | Name |
---|---|
System.ServiceModel.Description.ServiceEndpoint | endpoint |
System.ServiceModel.Dispatcher.EndpointDispatcher | endpointDispatcher |
Validate(ServiceEndpoint)
View Source
Declaration
public void Validate(ServiceEndpoint endpoint)
Parameters
Type | Name |
---|---|
System.ServiceModel.Description.ServiceEndpoint | endpoint |
Implements
System.ServiceModel.Description.IEndpointBehavior