C# 클래스 Elastacloud.AzureManagement.Fluent.Clients.Helpers.WebsiteRequestHelper

상속: IWebsiteRequestHelper
파일 보기 프로젝트 열기: azurecoder/fluent-management

공개 메소드들

메소드 설명
ExecuteCommand ( string uri, int status ) : void

Executes a command request and doesn't wait or process the response but checks the status and throws an exception if not acheived

GetStringResponse ( string username, string password, string uri ) : string

Used to get a string response given a uri, username and password

PostStringResponse ( string username, string password, string uri, string content ) : string

Used to get a return value from a post request

비공개 메소드들

메소드 설명
GetBasicAuthenticationCredentials ( string username, string password ) : string
GetWebClient ( ) : HttpClient
GetWebClient ( string username, string password ) : HttpClient

메소드 상세

ExecuteCommand() 공개 메소드

Executes a command request and doesn't wait or process the response but checks the status and throws an exception if not acheived
public ExecuteCommand ( string uri, int status ) : void
uri string the uri requested
status int The Http Status response code expected
리턴 void

GetStringResponse() 공개 메소드

Used to get a string response given a uri, username and password
public GetStringResponse ( string username, string password, string uri ) : string
username string
password string
uri string
리턴 string

PostStringResponse() 공개 메소드

Used to get a return value from a post request
public PostStringResponse ( string username, string password, string uri, string content ) : string
username string
password string
uri string
content string
리턴 string