C# 클래스 PocketCampus.Main.Services.ServerAccess

상속: IServerAccess
파일 보기 프로젝트 열기: accandme/pocketcampus

공개 메소드들

메소드 설명
CreateCommunication ( string pluginName ) : ThriftCommunication

Creates a ThriftCommunication for a plugin.

LoadConfigurationAsync ( ) : Task

Asynchronously loads the server configuration.

ServerAccess ( IHttpClient client, IServerSettings settings ) : System.Collections.Generic

Creates a new ServerAccess.

비공개 메소드들

메소드 설명
UpdateSessionHeader ( ) : void

Updates the HTTP headers sent with each request to add/remove/change the session.

메소드 상세

CreateCommunication() 공개 메소드

Creates a ThriftCommunication for a plugin.
public CreateCommunication ( string pluginName ) : ThriftCommunication
pluginName string
리턴 ThriftCommunication

LoadConfigurationAsync() 공개 메소드

Asynchronously loads the server configuration.
public LoadConfigurationAsync ( ) : Task
리턴 Task

ServerAccess() 공개 메소드

Creates a new ServerAccess.
public ServerAccess ( IHttpClient client, IServerSettings settings ) : System.Collections.Generic
client IHttpClient
settings IServerSettings
리턴 System.Collections.Generic