C# Class DynamicRest.Fluent.RestClientBuilder

Inheritance: IRestClientBuilder
Datei anzeigen Open project: Huddle/dynamicrest Class Usage Examples

Public Methods

Method Description
Build ( ) : dynamic
RestClientBuilder ( ) : System
WithAcceptEncodingHeader ( string acceptEncodingType ) : IRestClientBuilder
WithAcceptHeader ( string acceptType ) : IRestClientBuilder
WithAutoRedirect ( bool autoRedirect ) : IRestClientBuilder
WithBody ( string body ) : IRestClientBuilder
WithContentType ( string contentType ) : IRestClientBuilder
WithCustomHeaders ( string>.Dictionary headers ) : IRestClientBuilder
WithHeaders ( string>.Dictionary headers ) : IRestClientBuilder
WithIfModifiedSinceDate ( System.DateTime ifModifiedSince ) : IRestClientBuilder
WithNoAcceptHeader ( ) : IRestClientBuilder
WithOAuth2Token ( string token ) : IRestClientBuilder
WithProxy ( IWebProxy webProxy ) : IRestClientBuilder
WithRequestBuilder ( IBuildRequests requestBuilder ) : IRestClientBuilder
WithResponseProcessor ( IProcessResponses responseProcessor ) : IRestClientBuilder
WithTimeout ( int timeout ) : IRestClientBuilder
WithUri ( string uri ) : IRestClientBuilder
WithUserAgent ( string userAgent ) : IRestClientBuilder

Method Details

Build() public method

public Build ( ) : dynamic
return dynamic

RestClientBuilder() public method

public RestClientBuilder ( ) : System
return System

WithAcceptEncodingHeader() public method

public WithAcceptEncodingHeader ( string acceptEncodingType ) : IRestClientBuilder
acceptEncodingType string
return IRestClientBuilder

WithAcceptHeader() public method

public WithAcceptHeader ( string acceptType ) : IRestClientBuilder
acceptType string
return IRestClientBuilder

WithAutoRedirect() public method

public WithAutoRedirect ( bool autoRedirect ) : IRestClientBuilder
autoRedirect bool
return IRestClientBuilder

WithBody() public method

public WithBody ( string body ) : IRestClientBuilder
body string
return IRestClientBuilder

WithContentType() public method

public WithContentType ( string contentType ) : IRestClientBuilder
contentType string
return IRestClientBuilder

WithCustomHeaders() public method

public WithCustomHeaders ( string>.Dictionary headers ) : IRestClientBuilder
headers string>.Dictionary
return IRestClientBuilder

WithHeaders() public method

public WithHeaders ( string>.Dictionary headers ) : IRestClientBuilder
headers string>.Dictionary
return IRestClientBuilder

WithIfModifiedSinceDate() public method

public WithIfModifiedSinceDate ( System.DateTime ifModifiedSince ) : IRestClientBuilder
ifModifiedSince System.DateTime
return IRestClientBuilder

WithNoAcceptHeader() public method

public WithNoAcceptHeader ( ) : IRestClientBuilder
return IRestClientBuilder

WithOAuth2Token() public method

public WithOAuth2Token ( string token ) : IRestClientBuilder
token string
return IRestClientBuilder

WithProxy() public method

public WithProxy ( IWebProxy webProxy ) : IRestClientBuilder
webProxy IWebProxy
return IRestClientBuilder

WithRequestBuilder() public method

public WithRequestBuilder ( IBuildRequests requestBuilder ) : IRestClientBuilder
requestBuilder IBuildRequests
return IRestClientBuilder

WithResponseProcessor() public method

public WithResponseProcessor ( IProcessResponses responseProcessor ) : IRestClientBuilder
responseProcessor IProcessResponses
return IRestClientBuilder

WithTimeout() public method

public WithTimeout ( int timeout ) : IRestClientBuilder
timeout int
return IRestClientBuilder

WithUri() public method

public WithUri ( string uri ) : IRestClientBuilder
uri string
return IRestClientBuilder

WithUserAgent() public method

public WithUserAgent ( string userAgent ) : IRestClientBuilder
userAgent string
return IRestClientBuilder