C# Class Nexus.Client.ModRepositories.Nexus.CookieEndpointBehaviour

An HTTP Endpoint Behaviour that sets cookies for the service call.
Inheritance: System.ServiceModel.Description.WebHttpBehavior
Afficher le fichier Open project: NexusMods/NexusModManager-4.5

Méthodes publiques

Méthode Description
ApplyClientBehavior ( ServiceEndpoint endpoint, ClientRuntime clientRuntime ) : void

Injects the user agent into the service request.

CookieEndpointBehaviour ( string>.Dictionary p_dicAuthenticationCookies ) : System.Collections.Generic

A simple constructor that initializes the object with the given values.

Method Details

ApplyClientBehavior() public méthode

Injects the user agent into the service request.
public ApplyClientBehavior ( ServiceEndpoint endpoint, ClientRuntime clientRuntime ) : void
endpoint System.ServiceModel.Description.ServiceEndpoint The enpoint of the service for which to set the user-agent.
clientRuntime System.ServiceModel.Dispatcher.ClientRuntime The client runtime.
Résultat void

CookieEndpointBehaviour() public méthode

A simple constructor that initializes the object with the given values.
public CookieEndpointBehaviour ( string>.Dictionary p_dicAuthenticationCookies ) : System.Collections.Generic
p_dicAuthenticationCookies string>.Dictionary The cookies to add to the request.
Résultat System.Collections.Generic