public MetaHeaderProvider()
        {
            var clientVersionInfo = ClientVersionInfo.Create <IOpenSearchLowLevelClient>();

            _asyncMetaDataHeader = new MetaDataHeader(clientVersionInfo, "opensearch", true);
            _syncMetaDataHeader  = new MetaDataHeader(clientVersionInfo, "opensearch", false);
        }
示例#2
0
 public ClientVersionInfoModel(ClientVersionInfo clientVersion)
 {
     this.Id       = clientVersion.Id;
     this.Fullname = clientVersion.Fullname;
 }