C# Class log4net.ElasticSearch.WebElasticClient

Inheritance: IElasticsearchClient
Mostra file Open project: 360incentives/log4stash

Public Methods

Method Description
Dispose ( ) : void
IndexBulk ( IEnumerable bulk ) : void
IndexBulkAsync ( IEnumerable bulk ) : IAsyncResult
PutTemplateRaw ( string templateName, string rawBody ) : void
WebElasticClient ( string server, int port ) : System
WebElasticClient ( string server, int port, bool ssl, bool allowSelfSignedServerCert, string basicAuthUsername, string basicAuthPassword ) : System

Private Methods

Method Description
AcceptSelfSignedServerCertCallback ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool
CheckResponse ( HttpWebResponse httpResponse ) : void
FinishGetResponse ( IAsyncResult result ) : void
PrepareBulk ( IEnumerable bulk ) : string
PrepareBulkAndSend ( IEnumerable bulk ) : WebRequest
SendRequest ( WebRequest webRequest, string requestString ) : void
SetBasicAuthHeader ( WebRequest request ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

IndexBulk() public method

public IndexBulk ( IEnumerable bulk ) : void
bulk IEnumerable
return void

IndexBulkAsync() public method

public IndexBulkAsync ( IEnumerable bulk ) : IAsyncResult
bulk IEnumerable
return IAsyncResult

PutTemplateRaw() public method

public PutTemplateRaw ( string templateName, string rawBody ) : void
templateName string
rawBody string
return void

WebElasticClient() public method

public WebElasticClient ( string server, int port ) : System
server string
port int
return System

WebElasticClient() public method

public WebElasticClient ( string server, int port, bool ssl, bool allowSelfSignedServerCert, string basicAuthUsername, string basicAuthPassword ) : System
server string
port int
ssl bool
allowSelfSignedServerCert bool
basicAuthUsername string
basicAuthPassword string
return System