C# 클래스 Yammer.APIWrapper.HttpUtility

파일 보기 프로젝트 열기: kdavie/Yammer.NET-2.0

공개 메소드들

메소드 설명
CreateWebRequest ( WebMethod method, WebProxy proxy, string requestUrl, bool preAuth ) : HttpWebRequest
CreateWebRequest ( WebMethod method, string requestUrl, bool preAuth ) : HttpWebRequest
CreateWebRequest ( string fullUrl, WebMethod method, string nonce, string timeStamp, string sig, string boundary ) : HttpWebRequest
Delete ( string url ) : string
Delete ( string url, NameValueCollection parameters ) : string
EncodeUrl ( string url, NameValueCollection parameters ) : string
Get ( string url ) : string
Get ( string url, NameValueCollection parameters ) : string
GetImage ( string url ) : System.Drawing.Image
GetSignature ( WebMethod method, string url, string &timestamp, string &nonce ) : string
GetWebResponse ( HttpWebRequest request ) : string
GetWebResponse ( HttpWebRequest request, string &location ) : string
Post ( string url, NameValueCollection parameters ) : string
Post ( string url, NameValueCollection parameters, bool getLocationHeader ) : string
Put ( string url, NameValueCollection parameters ) : string
Upload ( string url, NameValueCollection parameters, List files ) : string
WriteFile ( System io, string fileName ) : void
WritePostData ( NameValueCollection parameters, HttpWebRequest request ) : void

비공개 메소드들

메소드 설명
AddFileHeaders ( List fileNames, string contentBoundary, string contentDisposition, FileInfo fi, int &i, long &postDataSize, int &headerLength, List fileHeaders ) : void
CreateAuthHeader ( WebMethod method, string nonce, string timeStamp, string sig ) : string
CreateWebRequest ( string fullUrl, WebMethod method, string oauthParams ) : HttpWebRequest
CreateWebRequest ( string fullUrl, WebMethod method, string nonce, string timeStamp, string sig ) : HttpWebRequest
GenerateRandomString ( int intLenghtOfString ) : string
GetPostParameters ( NameValueCollection parameters, string contentBoundary, string contentDisposition ) : string
IsValidImage ( Stream imageStream ) : bool
UploadAttachments ( string url, NameValueCollection parameters, List fileNames ) : string
WritePostData ( string postData, Stream requestStream, bool close ) : void

메소드 상세

CreateWebRequest() 공개 정적인 메소드

public static CreateWebRequest ( WebMethod method, WebProxy proxy, string requestUrl, bool preAuth ) : HttpWebRequest
method WebMethod
proxy System.Net.WebProxy
requestUrl string
preAuth bool
리턴 System.Net.HttpWebRequest

CreateWebRequest() 공개 정적인 메소드

public static CreateWebRequest ( WebMethod method, string requestUrl, bool preAuth ) : HttpWebRequest
method WebMethod
requestUrl string
preAuth bool
리턴 System.Net.HttpWebRequest

CreateWebRequest() 공개 정적인 메소드

public static CreateWebRequest ( string fullUrl, WebMethod method, string nonce, string timeStamp, string sig, string boundary ) : HttpWebRequest
fullUrl string
method WebMethod
nonce string
timeStamp string
sig string
boundary string
리턴 System.Net.HttpWebRequest

Delete() 공개 정적인 메소드

public static Delete ( string url ) : string
url string
리턴 string

Delete() 공개 정적인 메소드

public static Delete ( string url, NameValueCollection parameters ) : string
url string
parameters System.Collections.Specialized.NameValueCollection
리턴 string

EncodeUrl() 공개 정적인 메소드

public static EncodeUrl ( string url, NameValueCollection parameters ) : string
url string
parameters System.Collections.Specialized.NameValueCollection
리턴 string

Get() 공개 정적인 메소드

public static Get ( string url ) : string
url string
리턴 string

Get() 공개 정적인 메소드

public static Get ( string url, NameValueCollection parameters ) : string
url string
parameters System.Collections.Specialized.NameValueCollection
리턴 string

GetImage() 공개 정적인 메소드

public static GetImage ( string url ) : System.Drawing.Image
url string
리턴 System.Drawing.Image

GetSignature() 공개 정적인 메소드

public static GetSignature ( WebMethod method, string url, string &timestamp, string &nonce ) : string
method WebMethod
url string
timestamp string
nonce string
리턴 string

GetWebResponse() 공개 정적인 메소드

public static GetWebResponse ( HttpWebRequest request ) : string
request System.Net.HttpWebRequest
리턴 string

GetWebResponse() 공개 정적인 메소드

public static GetWebResponse ( HttpWebRequest request, string &location ) : string
request System.Net.HttpWebRequest
location string
리턴 string

Post() 공개 정적인 메소드

public static Post ( string url, NameValueCollection parameters ) : string
url string
parameters System.Collections.Specialized.NameValueCollection
리턴 string

Post() 공개 정적인 메소드

public static Post ( string url, NameValueCollection parameters, bool getLocationHeader ) : string
url string
parameters System.Collections.Specialized.NameValueCollection
getLocationHeader bool
리턴 string

Put() 공개 정적인 메소드

public static Put ( string url, NameValueCollection parameters ) : string
url string
parameters System.Collections.Specialized.NameValueCollection
리턴 string

Upload() 공개 정적인 메소드

public static Upload ( string url, NameValueCollection parameters, List files ) : string
url string
parameters System.Collections.Specialized.NameValueCollection
files List
리턴 string

WriteFile() 공개 정적인 메소드

public static WriteFile ( System io, string fileName ) : void
io System
fileName string
리턴 void

WritePostData() 공개 정적인 메소드

public static WritePostData ( NameValueCollection parameters, HttpWebRequest request ) : void
parameters System.Collections.Specialized.NameValueCollection
request System.Net.HttpWebRequest
리턴 void