C# Class ServiceStack.WebRequestUtils

Exibir arquivo Open project: nustack/ServiceStack Class Usage Examples

Public Methods

Method Description
GetErrorResponseDtoType ( object request ) : Type
GetResponseDtoName ( object request ) : string

Private Methods

Method Description
AddAuthInfo ( this client, string userName, string password, AuthenticationInfo authInfo ) : void
AddBasicAuth ( this client, string userName, string password ) : void
AddDigestAuth ( this client, string userName, string password, AuthenticationInfo authInfo ) : void
CalculateMD5Hash ( string input ) : string
CreateCustomException ( string uri, AuthenticationException ex ) : AuthenticationException
ShouldAuthenticate ( Exception ex, string userName, string password ) : bool
padNC ( int num ) : string

Method Details

GetErrorResponseDtoType() public static method

public static GetErrorResponseDtoType ( object request ) : Type
request object
return System.Type

GetResponseDtoName() public static method

public static GetResponseDtoName ( object request ) : string
request object
return string