C# 클래스 Nexus.Client.ModRepositories.Nexus.CookieEndpointBehaviour

An HTTP Endpoint Behaviour that sets cookies for the service call.
상속: System.ServiceModel.Description.WebHttpBehavior
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5

공개 메소드들

메소드 설명
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.

메소드 상세

ApplyClientBehavior() 공개 메소드

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.
리턴 void

CookieEndpointBehaviour() 공개 메소드

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.
리턴 System.Collections.Generic