C# Class Raven.Client.Client.HttpJsonRequest

Exibir arquivo Open project: markrendle/ravendb Class Usage Examples

Public Properties

Property Type Description
bytesForNextWrite byte[]

Public Methods

Method Description
AddOperationHeaders ( NameValueCollection operationsHeaders ) : void
BeginReadResponseString ( AsyncCallback callback, object state ) : IAsyncResult
BeginWrite ( byte byteArray, AsyncCallback callback, object state ) : IAsyncResult
CreateHttpJsonRequest ( object self, string url, string method, ICredentials credentials ) : HttpJsonRequest
CreateHttpJsonRequest ( object self, string url, string method, Newtonsoft.Json.Linq.JObject metadata, ICredentials credentials ) : HttpJsonRequest
EndReadResponseString ( IAsyncResult result ) : string
EndWrite ( IAsyncResult result ) : void
ReadResponseString ( ) : string
Write ( byte byteArray ) : void
Write ( string data ) : void

Private Methods

Method Description
HttpJsonRequest ( string url, string method, ICredentials credentials ) : System
HttpJsonRequest ( string url, string method, Newtonsoft.Json.Linq.JObject metadata, ICredentials credentials ) : System
ReadStringInternal ( Func getResponse ) : string
WriteMetadata ( Newtonsoft.Json.Linq.JObject metadata ) : void

Method Details

AddOperationHeaders() public method

public AddOperationHeaders ( NameValueCollection operationsHeaders ) : void
operationsHeaders System.Collections.Specialized.NameValueCollection
return void

BeginReadResponseString() public method

public BeginReadResponseString ( AsyncCallback callback, object state ) : IAsyncResult
callback AsyncCallback
state object
return IAsyncResult

BeginWrite() public method

public BeginWrite ( byte byteArray, AsyncCallback callback, object state ) : IAsyncResult
byteArray byte
callback AsyncCallback
state object
return IAsyncResult

CreateHttpJsonRequest() public static method

public static CreateHttpJsonRequest ( object self, string url, string method, ICredentials credentials ) : HttpJsonRequest
self object
url string
method string
credentials ICredentials
return HttpJsonRequest

CreateHttpJsonRequest() public static method

public static CreateHttpJsonRequest ( object self, string url, string method, Newtonsoft.Json.Linq.JObject metadata, ICredentials credentials ) : HttpJsonRequest
self object
url string
method string
metadata Newtonsoft.Json.Linq.JObject
credentials ICredentials
return HttpJsonRequest

EndReadResponseString() public method

public EndReadResponseString ( IAsyncResult result ) : string
result IAsyncResult
return string

EndWrite() public method

public EndWrite ( IAsyncResult result ) : void
result IAsyncResult
return void

ReadResponseString() public method

public ReadResponseString ( ) : string
return string

Write() public method

public Write ( byte byteArray ) : void
byteArray byte
return void

Write() public method

public Write ( string data ) : void
data string
return void

Property Details

bytesForNextWrite public_oe property

public byte[] bytesForNextWrite
return byte[]