C# Class Elastacloud.AzureManagement.Fluent.BasicHttpRequestBuilder

Inheritance: QueryManager.IHttpRequestBuilder
Datei anzeigen Open project: azurecoder/fluent-management

Public Methods

Method Description
AddCertificate ( X509Certificate certificate ) : void
AddHeader ( string key, string value ) : void
BasicHttpRequestBuilder ( ) : System
Create ( ) : HttpWebRequest
HttpHeaderExists ( string key ) : bool
ReplaceOrAddHeader ( string key, string value ) : void
SetAccept ( string accept ) : void
SetBody ( string body ) : void
SetContentType ( string contentType ) : void
SetMethod ( string method ) : void
SetUri ( Uri requestUri ) : void

Method Details

AddCertificate() public method

public AddCertificate ( X509Certificate certificate ) : void
certificate System.Security.Cryptography.X509Certificates.X509Certificate
return void

AddHeader() public method

public AddHeader ( string key, string value ) : void
key string
value string
return void

BasicHttpRequestBuilder() public method

public BasicHttpRequestBuilder ( ) : System
return System

Create() public method

public Create ( ) : HttpWebRequest
return System.Net.HttpWebRequest

HttpHeaderExists() public method

public HttpHeaderExists ( string key ) : bool
key string
return bool

ReplaceOrAddHeader() public method

public ReplaceOrAddHeader ( string key, string value ) : void
key string
value string
return void

SetAccept() public method

public SetAccept ( string accept ) : void
accept string
return void

SetBody() public method

public SetBody ( string body ) : void
body string
return void

SetContentType() public method

public SetContentType ( string contentType ) : void
contentType string
return void

SetMethod() public method

public SetMethod ( string method ) : void
method string
return void

SetUri() public method

public SetUri ( Uri requestUri ) : void
requestUri System.Uri
return void