C# 클래스 ServiceStack.Text.WebRequestExtensions

파일 보기 프로젝트 열기: 7digital/ServiceStack.Text

공개 메소드들

메소드 설명
DeleteFromUrl ( this url, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
GetBytesFromUrl ( this url, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : byte[]
GetJsonFromUrl ( this url, Action requestFilter = null, Action responseFilter = null ) : string
GetResponseStatus ( this url ) : HttpStatusCode?
GetStatus ( this ex ) : HttpStatusCode?
GetStringFromUrl ( this url, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
GetXmlFromUrl ( this url, Action requestFilter = null, Action responseFilter = null ) : string
HasStatus ( this webEx, HttpStatusCode statusCode ) : bool
HeadFromUrl ( this url, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
IsAny300 ( this ex ) : bool
IsAny400 ( this ex ) : bool
IsAny500 ( this ex ) : bool
IsBadRequest ( this ex ) : bool
IsForbidden ( this ex ) : bool
IsInternalServerError ( this ex ) : bool
IsNotFound ( this ex ) : bool
IsUnauthorized ( this ex ) : bool
OptionsFromUrl ( this url, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
PostBytesToUrl ( this url, byte requestBody = null, string contentType = null, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : byte[]
PostJsonToUrl ( this url, object data, Action requestFilter = null, Action responseFilter = null ) : string
PostJsonToUrl ( this url, string json, Action requestFilter = null, Action responseFilter = null ) : string
PostStringToUrl ( this url, string requestBody = null, string contentType = null, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
PostToUrl ( this url, object formData = null, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
PostToUrl ( this url, string formData = null, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
PostXmlToUrl ( this url, object data, Action requestFilter = null, Action responseFilter = null ) : string
PostXmlToUrl ( this url, string xml, Action requestFilter = null, Action responseFilter = null ) : string
PutBytesToUrl ( this url, byte requestBody = null, string contentType = null, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : byte[]
PutJsonToUrl ( this url, object data, Action requestFilter = null, Action responseFilter = null ) : string
PutJsonToUrl ( this url, string json, Action requestFilter = null, Action responseFilter = null ) : string
PutStringToUrl ( this url, string requestBody = null, string contentType = null, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
PutToUrl ( this url, object formData = null, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
PutToUrl ( this url, string formData = null, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
PutXmlToUrl ( this url, object data, Action requestFilter = null, Action responseFilter = null ) : string
PutXmlToUrl ( this url, string xml, Action requestFilter = null, Action responseFilter = null ) : string
SendBytesToUrl ( this url, string method = null, byte requestBody = null, string contentType = null, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : byte[]
SendStringToUrl ( this url, string method = null, string requestBody = null, string contentType = null, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
ToFormUrlEncoded ( this queryParams ) : string

메소드 상세

DeleteFromUrl() 공개 정적인 메소드

public static DeleteFromUrl ( this url, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
url this
acceptContentType string
requestFilter Action
responseFilter Action
리턴 string

GetBytesFromUrl() 공개 정적인 메소드

public static GetBytesFromUrl ( this url, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : byte[]
url this
acceptContentType string
requestFilter Action
responseFilter Action
리턴 byte[]

GetJsonFromUrl() 공개 정적인 메소드

public static GetJsonFromUrl ( this url, Action requestFilter = null, Action responseFilter = null ) : string
url this
requestFilter Action
responseFilter Action
리턴 string

GetResponseStatus() 공개 정적인 메소드

public static GetResponseStatus ( this url ) : HttpStatusCode?
url this
리턴 HttpStatusCode?

GetStatus() 공개 정적인 메소드

public static GetStatus ( this ex ) : HttpStatusCode?
ex this
리턴 HttpStatusCode?

GetStringFromUrl() 공개 정적인 메소드

public static GetStringFromUrl ( this url, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
url this
acceptContentType string
requestFilter Action
responseFilter Action
리턴 string

GetXmlFromUrl() 공개 정적인 메소드

public static GetXmlFromUrl ( this url, Action requestFilter = null, Action responseFilter = null ) : string
url this
requestFilter Action
responseFilter Action
리턴 string

HasStatus() 공개 정적인 메소드

public static HasStatus ( this webEx, HttpStatusCode statusCode ) : bool
webEx this
statusCode HttpStatusCode
리턴 bool

HeadFromUrl() 공개 정적인 메소드

public static HeadFromUrl ( this url, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
url this
acceptContentType string
requestFilter Action
responseFilter Action
리턴 string

IsAny300() 공개 정적인 메소드

public static IsAny300 ( this ex ) : bool
ex this
리턴 bool

IsAny400() 공개 정적인 메소드

public static IsAny400 ( this ex ) : bool
ex this
리턴 bool

IsAny500() 공개 정적인 메소드

public static IsAny500 ( this ex ) : bool
ex this
리턴 bool

IsBadRequest() 공개 정적인 메소드

public static IsBadRequest ( this ex ) : bool
ex this
리턴 bool

IsForbidden() 공개 정적인 메소드

public static IsForbidden ( this ex ) : bool
ex this
리턴 bool

IsInternalServerError() 공개 정적인 메소드

public static IsInternalServerError ( this ex ) : bool
ex this
리턴 bool

IsNotFound() 공개 정적인 메소드

public static IsNotFound ( this ex ) : bool
ex this
리턴 bool

IsUnauthorized() 공개 정적인 메소드

public static IsUnauthorized ( this ex ) : bool
ex this
리턴 bool

OptionsFromUrl() 공개 정적인 메소드

public static OptionsFromUrl ( this url, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
url this
acceptContentType string
requestFilter Action
responseFilter Action
리턴 string

PostBytesToUrl() 공개 정적인 메소드

public static PostBytesToUrl ( this url, byte requestBody = null, string contentType = null, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : byte[]
url this
requestBody byte
contentType string
acceptContentType string
requestFilter Action
responseFilter Action
리턴 byte[]

PostJsonToUrl() 공개 정적인 메소드

public static PostJsonToUrl ( this url, object data, Action requestFilter = null, Action responseFilter = null ) : string
url this
data object
requestFilter Action
responseFilter Action
리턴 string

PostJsonToUrl() 공개 정적인 메소드

public static PostJsonToUrl ( this url, string json, Action requestFilter = null, Action responseFilter = null ) : string
url this
json string
requestFilter Action
responseFilter Action
리턴 string

PostStringToUrl() 공개 정적인 메소드

public static PostStringToUrl ( this url, string requestBody = null, string contentType = null, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
url this
requestBody string
contentType string
acceptContentType string
requestFilter Action
responseFilter Action
리턴 string

PostToUrl() 공개 정적인 메소드

public static PostToUrl ( this url, object formData = null, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
url this
formData object
acceptContentType string
requestFilter Action
responseFilter Action
리턴 string

PostToUrl() 공개 정적인 메소드

public static PostToUrl ( this url, string formData = null, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
url this
formData string
acceptContentType string
requestFilter Action
responseFilter Action
리턴 string

PostXmlToUrl() 공개 정적인 메소드

public static PostXmlToUrl ( this url, object data, Action requestFilter = null, Action responseFilter = null ) : string
url this
data object
requestFilter Action
responseFilter Action
리턴 string

PostXmlToUrl() 공개 정적인 메소드

public static PostXmlToUrl ( this url, string xml, Action requestFilter = null, Action responseFilter = null ) : string
url this
xml string
requestFilter Action
responseFilter Action
리턴 string

PutBytesToUrl() 공개 정적인 메소드

public static PutBytesToUrl ( this url, byte requestBody = null, string contentType = null, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : byte[]
url this
requestBody byte
contentType string
acceptContentType string
requestFilter Action
responseFilter Action
리턴 byte[]

PutJsonToUrl() 공개 정적인 메소드

public static PutJsonToUrl ( this url, object data, Action requestFilter = null, Action responseFilter = null ) : string
url this
data object
requestFilter Action
responseFilter Action
리턴 string

PutJsonToUrl() 공개 정적인 메소드

public static PutJsonToUrl ( this url, string json, Action requestFilter = null, Action responseFilter = null ) : string
url this
json string
requestFilter Action
responseFilter Action
리턴 string

PutStringToUrl() 공개 정적인 메소드

public static PutStringToUrl ( this url, string requestBody = null, string contentType = null, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
url this
requestBody string
contentType string
acceptContentType string
requestFilter Action
responseFilter Action
리턴 string

PutToUrl() 공개 정적인 메소드

public static PutToUrl ( this url, object formData = null, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
url this
formData object
acceptContentType string
requestFilter Action
responseFilter Action
리턴 string

PutToUrl() 공개 정적인 메소드

public static PutToUrl ( this url, string formData = null, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
url this
formData string
acceptContentType string
requestFilter Action
responseFilter Action
리턴 string

PutXmlToUrl() 공개 정적인 메소드

public static PutXmlToUrl ( this url, object data, Action requestFilter = null, Action responseFilter = null ) : string
url this
data object
requestFilter Action
responseFilter Action
리턴 string

PutXmlToUrl() 공개 정적인 메소드

public static PutXmlToUrl ( this url, string xml, Action requestFilter = null, Action responseFilter = null ) : string
url this
xml string
requestFilter Action
responseFilter Action
리턴 string

SendBytesToUrl() 공개 정적인 메소드

public static SendBytesToUrl ( this url, string method = null, byte requestBody = null, string contentType = null, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : byte[]
url this
method string
requestBody byte
contentType string
acceptContentType string
requestFilter Action
responseFilter Action
리턴 byte[]

SendStringToUrl() 공개 정적인 메소드

public static SendStringToUrl ( this url, string method = null, string requestBody = null, string contentType = null, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
url this
method string
requestBody string
contentType string
acceptContentType string
requestFilter Action
responseFilter Action
리턴 string

ToFormUrlEncoded() 공개 정적인 메소드

public static ToFormUrlEncoded ( this queryParams ) : string
queryParams this
리턴 string