-
Notifications
You must be signed in to change notification settings - Fork 330
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4a0459d
Showing
258 changed files
with
15,457 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | ||
<meta http-equiv="X-UA-Compatible" content="IE=9"/> | ||
<meta name="generator" content="Doxygen 1.8.17"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"/> | ||
<title>Prometheus Client Library for Modern C++: Class List</title> | ||
<link href="tabs.css" rel="stylesheet" type="text/css"/> | ||
<script type="text/javascript" src="jquery.js"></script> | ||
<script type="text/javascript" src="dynsections.js"></script> | ||
<link href="search/search.css" rel="stylesheet" type="text/css"/> | ||
<script type="text/javascript" src="search/searchdata.js"></script> | ||
<script type="text/javascript" src="search/search.js"></script> | ||
<link href="doxygen.css" rel="stylesheet" type="text/css" /> | ||
</head> | ||
<body> | ||
<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | ||
<div id="titlearea"> | ||
<table cellspacing="0" cellpadding="0"> | ||
<tbody> | ||
<tr style="height: 56px;"> | ||
<td id="projectalign" style="padding-left: 0.5em;"> | ||
<div id="projectname">Prometheus Client Library for Modern C++ | ||
</div> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
<!-- end header part --> | ||
<!-- Generated by Doxygen 1.8.17 --> | ||
<script type="text/javascript"> | ||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ | ||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); | ||
/* @license-end */ | ||
</script> | ||
<script type="text/javascript" src="menudata.js"></script> | ||
<script type="text/javascript" src="menu.js"></script> | ||
<script type="text/javascript"> | ||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ | ||
$(function() { | ||
initMenu('',true,false,'search.php','Search'); | ||
$(document).ready(function() { init_search(); }); | ||
}); | ||
/* @license-end */</script> | ||
<div id="main-nav"></div> | ||
</div><!-- top --> | ||
<!-- window showing the filter options --> | ||
<div id="MSearchSelectWindow" | ||
onmouseover="return searchBox.OnSearchSelectShow()" | ||
onmouseout="return searchBox.OnSearchSelectHide()" | ||
onkeydown="return searchBox.OnSearchSelectKey(event)"> | ||
</div> | ||
|
||
<!-- iframe showing the search results (closed by default) --> | ||
<div id="MSearchResultsWindow"> | ||
<iframe src="javascript:void(0)" frameborder="0" | ||
name="MSearchResults" id="MSearchResults"> | ||
</iframe> | ||
</div> | ||
|
||
<div class="header"> | ||
<div class="headertitle"> | ||
<div class="title">Class List</div> </div> | ||
</div><!--header--> | ||
<div class="contents"> | ||
<div class="textblock">Here are the classes, structs, unions and interfaces with brief descriptions:</div><div class="directory"> | ||
<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span><span onclick="javascript:toggleLevel(3);">3</span>]</div><table class="directory"> | ||
<tr id="row_0_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_0_" class="arrow" onclick="toggleFolder('0_')">▼</span><span class="icona"><span class="icon">N</span></span><b>prometheus</b></td><td class="desc"></td></tr> | ||
<tr id="row_0_0_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classprometheus_1_1BasicAuthHandler.html" target="_self">BasicAuthHandler</a></td><td class="desc"></td></tr> | ||
<tr id="row_0_1_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_0_1_" class="arrow" onclick="toggleFolder('0_1_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structprometheus_1_1ClientMetric.html" target="_self">ClientMetric</a></td><td class="desc"></td></tr> | ||
<tr id="row_0_1_0_"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structprometheus_1_1ClientMetric_1_1Bucket.html" target="_self">Bucket</a></td><td class="desc"></td></tr> | ||
<tr id="row_0_1_1_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structprometheus_1_1ClientMetric_1_1Counter.html" target="_self">Counter</a></td><td class="desc"></td></tr> | ||
<tr id="row_0_1_2_"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structprometheus_1_1ClientMetric_1_1Gauge.html" target="_self">Gauge</a></td><td class="desc"></td></tr> | ||
<tr id="row_0_1_3_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structprometheus_1_1ClientMetric_1_1Histogram.html" target="_self">Histogram</a></td><td class="desc"></td></tr> | ||
<tr id="row_0_1_4_"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structprometheus_1_1ClientMetric_1_1Info.html" target="_self">Info</a></td><td class="desc"></td></tr> | ||
<tr id="row_0_1_5_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structprometheus_1_1ClientMetric_1_1Label.html" target="_self">Label</a></td><td class="desc"></td></tr> | ||
<tr id="row_0_1_6_"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structprometheus_1_1ClientMetric_1_1Quantile.html" target="_self">Quantile</a></td><td class="desc"></td></tr> | ||
<tr id="row_0_1_7_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structprometheus_1_1ClientMetric_1_1Summary.html" target="_self">Summary</a></td><td class="desc"></td></tr> | ||
<tr id="row_0_1_8_"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structprometheus_1_1ClientMetric_1_1Untyped.html" target="_self">Untyped</a></td><td class="desc"></td></tr> | ||
<tr id="row_0_2_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classprometheus_1_1Collectable.html" target="_self">Collectable</a></td><td class="desc">Interface implemented by anything that can be used by Prometheus to collect metrics </td></tr> | ||
<tr id="row_0_3_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classprometheus_1_1Counter.html" target="_self">Counter</a></td><td class="desc">A counter metric to represent a monotonically increasing value </td></tr> | ||
<tr id="row_0_4_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classprometheus_1_1Exposer.html" target="_self">Exposer</a></td><td class="desc"></td></tr> | ||
<tr id="row_0_5_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classprometheus_1_1Family.html" target="_self">Family</a></td><td class="desc">A metric of type T with a set of labeled dimensions </td></tr> | ||
<tr id="row_0_6_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classprometheus_1_1Gateway.html" target="_self">Gateway</a></td><td class="desc"></td></tr> | ||
<tr id="row_0_7_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classprometheus_1_1Gauge.html" target="_self">Gauge</a></td><td class="desc">A gauge metric to represent a value that can arbitrarily go up and down </td></tr> | ||
<tr id="row_0_8_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classprometheus_1_1Histogram.html" target="_self">Histogram</a></td><td class="desc">A histogram metric to represent aggregatable distributions of events </td></tr> | ||
<tr id="row_0_9_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classprometheus_1_1Info.html" target="_self">Info</a></td><td class="desc">A info metric to represent textual information which should not change during process lifetime </td></tr> | ||
<tr id="row_0_10_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structprometheus_1_1MetricFamily.html" target="_self">MetricFamily</a></td><td class="desc"></td></tr> | ||
<tr id="row_0_11_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classprometheus_1_1Registry.html" target="_self">Registry</a></td><td class="desc">Manages the collection of a number of metrics </td></tr> | ||
<tr id="row_0_12_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classprometheus_1_1Serializer.html" target="_self">Serializer</a></td><td class="desc"></td></tr> | ||
<tr id="row_0_13_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classprometheus_1_1Summary.html" target="_self">Summary</a></td><td class="desc">A summary metric samples observations over a sliding window of time </td></tr> | ||
<tr id="row_0_14_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classprometheus_1_1TextSerializer.html" target="_self">TextSerializer</a></td><td class="desc"></td></tr> | ||
</table> | ||
</div><!-- directory --> | ||
</div><!-- contents --> | ||
<!-- start footer part --> | ||
<hr class="footer"/><address class="footer"><small> | ||
Generated by  <a href="http://www.doxygen.org/index.html"> | ||
<img class="footer" src="doxygen.png" alt="doxygen"/> | ||
</a> 1.8.17 | ||
</small></address> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | ||
<meta http-equiv="X-UA-Compatible" content="IE=9"/> | ||
<meta name="generator" content="Doxygen 1.8.17"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"/> | ||
<title>Prometheus Client Library for Modern C++: /home/runner/work/prometheus-cpp/prometheus-cpp/pull/src/basic_auth.h Source File</title> | ||
<link href="tabs.css" rel="stylesheet" type="text/css"/> | ||
<script type="text/javascript" src="jquery.js"></script> | ||
<script type="text/javascript" src="dynsections.js"></script> | ||
<link href="search/search.css" rel="stylesheet" type="text/css"/> | ||
<script type="text/javascript" src="search/searchdata.js"></script> | ||
<script type="text/javascript" src="search/search.js"></script> | ||
<link href="doxygen.css" rel="stylesheet" type="text/css" /> | ||
</head> | ||
<body> | ||
<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | ||
<div id="titlearea"> | ||
<table cellspacing="0" cellpadding="0"> | ||
<tbody> | ||
<tr style="height: 56px;"> | ||
<td id="projectalign" style="padding-left: 0.5em;"> | ||
<div id="projectname">Prometheus Client Library for Modern C++ | ||
</div> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
<!-- end header part --> | ||
<!-- Generated by Doxygen 1.8.17 --> | ||
<script type="text/javascript"> | ||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ | ||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); | ||
/* @license-end */ | ||
</script> | ||
<script type="text/javascript" src="menudata.js"></script> | ||
<script type="text/javascript" src="menu.js"></script> | ||
<script type="text/javascript"> | ||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ | ||
$(function() { | ||
initMenu('',true,false,'search.php','Search'); | ||
$(document).ready(function() { init_search(); }); | ||
}); | ||
/* @license-end */</script> | ||
<div id="main-nav"></div> | ||
<!-- window showing the filter options --> | ||
<div id="MSearchSelectWindow" | ||
onmouseover="return searchBox.OnSearchSelectShow()" | ||
onmouseout="return searchBox.OnSearchSelectHide()" | ||
onkeydown="return searchBox.OnSearchSelectKey(event)"> | ||
</div> | ||
|
||
<!-- iframe showing the search results (closed by default) --> | ||
<div id="MSearchResultsWindow"> | ||
<iframe src="javascript:void(0)" frameborder="0" | ||
name="MSearchResults" id="MSearchResults"> | ||
</iframe> | ||
</div> | ||
|
||
<div id="nav-path" class="navpath"> | ||
<ul> | ||
<li class="navelem"><a class="el" href="dir_032a4461d8039eb113d8f17b2826ccbb.html">pull</a></li><li class="navelem"><a class="el" href="dir_380be297931c13396ac979ce6c668fb0.html">src</a></li> </ul> | ||
</div> | ||
</div><!-- top --> | ||
<div class="header"> | ||
<div class="headertitle"> | ||
<div class="title">basic_auth.h</div> </div> | ||
</div><!--header--> | ||
<div class="contents"> | ||
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#pragma once</span></div> | ||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>  </div> | ||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#include <functional></span></div> | ||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include <string></span></div> | ||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  </div> | ||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include "CivetServer.h"</span></div> | ||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include "civetweb.h"</span></div> | ||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  </div> | ||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="keyword">namespace </span>prometheus {</div> | ||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  </div> | ||
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="classprometheus_1_1BasicAuthHandler.html"> 14</a></span> <span class="keyword">class </span><a class="code" href="classprometheus_1_1BasicAuthHandler.html">BasicAuthHandler</a> : <span class="keyword">public</span> CivetAuthHandler {</div> | ||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  <span class="keyword">public</span>:</div> | ||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  <span class="keyword">using</span> AuthFunc = std::function<bool(<span class="keyword">const</span> std::string&, <span class="keyword">const</span> std::string&)>;</div> | ||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <span class="keyword">explicit</span> <a class="code" href="classprometheus_1_1BasicAuthHandler.html">BasicAuthHandler</a>(AuthFunc callback, std::string realm);</div> | ||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div> | ||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keywordtype">bool</span> <a class="code" href="classprometheus_1_1BasicAuthHandler.html#a7b61bfd34a18f27a061ddaf9f8a0e025">authorize</a>(CivetServer* server, mg_connection* conn) <span class="keyword">override</span>;</div> | ||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div> | ||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keyword">private</span>:</div> | ||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keywordtype">bool</span> AuthorizeInner(CivetServer* server, mg_connection* conn);</div> | ||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keywordtype">void</span> WriteUnauthorizedResponse(mg_connection* conn);</div> | ||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div> | ||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  AuthFunc callback_;</div> | ||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  std::string realm_;</div> | ||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> };</div> | ||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div> | ||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> } <span class="comment">// namespace prometheus</span></div> | ||
</div><!-- fragment --></div><!-- contents --> | ||
<div class="ttc" id="aclassprometheus_1_1BasicAuthHandler_html"><div class="ttname"><a href="classprometheus_1_1BasicAuthHandler.html">prometheus::BasicAuthHandler</a></div><div class="ttdef"><b>Definition:</b> basic_auth.h:14</div></div> | ||
<div class="ttc" id="aclassprometheus_1_1BasicAuthHandler_html_a7b61bfd34a18f27a061ddaf9f8a0e025"><div class="ttname"><a href="classprometheus_1_1BasicAuthHandler.html#a7b61bfd34a18f27a061ddaf9f8a0e025">prometheus::BasicAuthHandler::authorize</a></div><div class="ttdeci">bool authorize(CivetServer *server, mg_connection *conn) override</div><div class="ttdef"><b>Definition:</b> basic_auth.cc:13</div></div> | ||
<!-- start footer part --> | ||
<hr class="footer"/><address class="footer"><small> | ||
Generated by  <a href="http://www.doxygen.org/index.html"> | ||
<img class="footer" src="doxygen.png" alt="doxygen"/> | ||
</a> 1.8.17 | ||
</small></address> | ||
</body> | ||
</html> |
Oops, something went wrong.