C# 클래스 EasyHttp.Http.HttpRequest

파일 보기 프로젝트 열기: hhariri/EasyHttp 1 사용 예제들

공개 메소드들

메소드 설명
AddExtraHeader ( string header, object value ) : void
HttpRequest ( IEncoder encoder ) : System
PrepareRequest ( ) : HttpWebRequest
SetBasicAuthentication ( string username, string password ) : void
SetCacheControlToNoCache ( ) : void
SetCacheControlWithMaxAge ( System.TimeSpan maxAge ) : void
SetCacheControlWithMaxAgeAndMaxStale ( System.TimeSpan maxAge, System.TimeSpan maxStale ) : void
SetCacheControlWithMaxAgeAndMinFresh ( System.TimeSpan maxAge, System.TimeSpan minFresh ) : void

비공개 메소드들

메소드 설명
AcceptAllCertifications ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslpolicyerrors ) : bool
SetupAuthentication ( ) : void
SetupBody ( ) : void
SetupClientCertificates ( ) : void
SetupData ( ) : void
SetupHeader ( ) : void
SetupMultiPartBody ( ) : void
SetupPutFilename ( ) : void

메소드 상세

AddExtraHeader() 공개 메소드

public AddExtraHeader ( string header, object value ) : void
header string
value object
리턴 void

HttpRequest() 공개 메소드

public HttpRequest ( IEncoder encoder ) : System
encoder IEncoder
리턴 System

PrepareRequest() 공개 메소드

public PrepareRequest ( ) : HttpWebRequest
리턴 System.Net.HttpWebRequest

SetBasicAuthentication() 공개 메소드

public SetBasicAuthentication ( string username, string password ) : void
username string
password string
리턴 void

SetCacheControlToNoCache() 공개 메소드

public SetCacheControlToNoCache ( ) : void
리턴 void

SetCacheControlWithMaxAge() 공개 메소드

public SetCacheControlWithMaxAge ( System.TimeSpan maxAge ) : void
maxAge System.TimeSpan
리턴 void

SetCacheControlWithMaxAgeAndMaxStale() 공개 메소드

public SetCacheControlWithMaxAgeAndMaxStale ( System.TimeSpan maxAge, System.TimeSpan maxStale ) : void
maxAge System.TimeSpan
maxStale System.TimeSpan
리턴 void

SetCacheControlWithMaxAgeAndMinFresh() 공개 메소드

public SetCacheControlWithMaxAgeAndMinFresh ( System.TimeSpan maxAge, System.TimeSpan minFresh ) : void
maxAge System.TimeSpan
minFresh System.TimeSpan
리턴 void