C# Class CalDavSynchronizer.DataAccess.HttpClientBasedClient.WebDavClient

Inheritance: IWebDavClient
Mostra file Open project: aluxnimm/outlookcaldavsynchronizer

Public Methods

Method Description
ExecuteWebDavRequestAndReadResponse ( Uri url, string httpMethod, int depth, string ifMatch, string ifNoneMatch, string mediaType, string requestBody ) : Task
ExecuteWebDavRequestAndReturnResponseHeaders ( Uri url, string httpMethod, int depth, string ifMatch, string ifNoneMatch, string mediaType, string requestBody ) : Task
WebDavClient ( Func httpClientFactory, string productName, string productVersion, bool closeConnectionAfterEachRequest, bool acceptInvalidChars, bool sendEtagsWithoutQuote ) : System

Private Methods

Method Description
EnsureSuccessStatusCode ( HttpResponseMessage response ) : System.Threading.Tasks.Task
ExecuteWebDavRequest ( Uri url, string httpMethod, int depth, string ifMatch, string ifNoneMatch, string mediaType, string requestBody, System.Net.Http.Headers.HttpResponseHeaders headersFromFirstCall = null ) : Task>

Method Details

ExecuteWebDavRequestAndReadResponse() public method

public ExecuteWebDavRequestAndReadResponse ( Uri url, string httpMethod, int depth, string ifMatch, string ifNoneMatch, string mediaType, string requestBody ) : Task
url System.Uri
httpMethod string
depth int
ifMatch string
ifNoneMatch string
mediaType string
requestBody string
return Task

ExecuteWebDavRequestAndReturnResponseHeaders() public method

public ExecuteWebDavRequestAndReturnResponseHeaders ( Uri url, string httpMethod, int depth, string ifMatch, string ifNoneMatch, string mediaType, string requestBody ) : Task
url System.Uri
httpMethod string
depth int
ifMatch string
ifNoneMatch string
mediaType string
requestBody string
return Task

WebDavClient() public method

public WebDavClient ( Func httpClientFactory, string productName, string productVersion, bool closeConnectionAfterEachRequest, bool acceptInvalidChars, bool sendEtagsWithoutQuote ) : System
httpClientFactory Func
productName string
productVersion string
closeConnectionAfterEachRequest bool
acceptInvalidChars bool
sendEtagsWithoutQuote bool
return System