C# 클래스 log4net.ElasticSearch.Infrastructure.HttpClient

상속: IHttpClient
파일 보기 프로젝트 열기: jptoto/log4net.ElasticSearch

공개 메소드들

메소드 설명
Post ( Uri uri, log4net.ElasticSearch.Models.logEvent item ) : void
PostBulk ( Uri uri, IEnumerable items ) : void

Post the events to the Elasticsearch _bulk API for faster inserts

RequestFor ( Uri uri ) : HttpWebRequest

비공개 메소드들

메소드 설명
GetRequestStream ( WebRequest httpWebRequest ) : StreamWriter

메소드 상세

Post() 공개 메소드

public Post ( Uri uri, log4net.ElasticSearch.Models.logEvent item ) : void
uri System.Uri
item log4net.ElasticSearch.Models.logEvent
리턴 void

PostBulk() 공개 메소드

Post the events to the Elasticsearch _bulk API for faster inserts
public PostBulk ( Uri uri, IEnumerable items ) : void
uri System.Uri Fully formed URI to the ES endpoint
items IEnumerable List of logEvents
리턴 void

RequestFor() 공개 정적인 메소드

public static RequestFor ( Uri uri ) : HttpWebRequest
uri System.Uri
리턴 System.Net.HttpWebRequest