C# Class Raven.Client.Silverlight.Connection.HttpJsonRequestFactory

Create the HTTP Json Requests to the RavenDB Server and manages the http cache
Inheritance: IDisposable
Datei anzeigen Open project: nhsevidence/ravendb Class Usage Examples

Public Methods

Method Description
CreateHttpJsonRequest ( object self, string url, string method, ICredentials credentials, DocumentConvention convention ) : HttpJsonRequest

Creates the HTTP json request.

CreateHttpJsonRequest ( object self, string url, string method, RavenJObject metadata, ICredentials credentials, DocumentConvention convention ) : HttpJsonRequest

Creates the HTTP json request.

Dispose ( ) : void

Private Methods

Method Description
InvokeLogRequest ( IHoldProfilingInformation sender, Raven.Client.Connection.Profiling.RequestResultArgs e ) : void

Invoke the LogRequest event

Method Details

CreateHttpJsonRequest() public method

Creates the HTTP json request.
public CreateHttpJsonRequest ( object self, string url, string method, ICredentials credentials, DocumentConvention convention ) : HttpJsonRequest
self object The self.
url string The URL.
method string The method.
credentials ICredentials The credentials.
convention DocumentConvention The document conventions governing this request
return Raven.Client.Connection.HttpJsonRequest

CreateHttpJsonRequest() public method

Creates the HTTP json request.
public CreateHttpJsonRequest ( object self, string url, string method, RavenJObject metadata, ICredentials credentials, DocumentConvention convention ) : HttpJsonRequest
self object The self.
url string The URL.
method string The method.
metadata RavenJObject The metadata.
credentials ICredentials The credentials.
convention DocumentConvention The document conventions governing this request
return Raven.Client.Connection.HttpJsonRequest

Dispose() public method

public Dispose ( ) : void
return void