C# Class Raven.Client.Client.HttpJsonRequest

Afficher le fichier Open project: markrendle/ravendb Class Usage Examples

Méthodes publiques

Свойство Type Description
bytesForNextWrite byte[]

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AddOperationHeaders ( NameValueCollection operationsHeaders ) : void
operationsHeaders System.Collections.Specialized.NameValueCollection
Résultat void

BeginReadResponseString() public méthode

public BeginReadResponseString ( AsyncCallback callback, object state ) : IAsyncResult
callback AsyncCallback
state object
Résultat IAsyncResult

BeginWrite() public méthode

public BeginWrite ( byte byteArray, AsyncCallback callback, object state ) : IAsyncResult
byteArray byte
callback AsyncCallback
state object
Résultat IAsyncResult

CreateHttpJsonRequest() public static méthode

public static CreateHttpJsonRequest ( object self, string url, string method, ICredentials credentials ) : HttpJsonRequest
self object
url string
method string
credentials ICredentials
Résultat HttpJsonRequest

CreateHttpJsonRequest() public static méthode

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
Résultat HttpJsonRequest

EndReadResponseString() public méthode

public EndReadResponseString ( IAsyncResult result ) : string
result IAsyncResult
Résultat string

EndWrite() public méthode

public EndWrite ( IAsyncResult result ) : void
result IAsyncResult
Résultat void

ReadResponseString() public méthode

public ReadResponseString ( ) : string
Résultat string

Write() public méthode

public Write ( byte byteArray ) : void
byteArray byte
Résultat void

Write() public méthode

public Write ( string data ) : void
data string
Résultat void

Property Details

bytesForNextWrite public_oe property

public byte[] bytesForNextWrite
Résultat byte[]