Skip to content

Commit b4bfde9

Browse files
committed
deploy: e5fada4
0 parents  commit b4bfde9

File tree

258 files changed

+15476
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

258 files changed

+15476
-0
lines changed

.nojekyll

Whitespace-only changes.

annotated.html

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2+
<html xmlns="http://www.w3.org/1999/xhtml">
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5+
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6+
<meta name="generator" content="Doxygen 1.8.17"/>
7+
<meta name="viewport" content="width=device-width, initial-scale=1"/>
8+
<title>Prometheus Client Library for Modern C++: Class List</title>
9+
<link href="tabs.css" rel="stylesheet" type="text/css"/>
10+
<script type="text/javascript" src="jquery.js"></script>
11+
<script type="text/javascript" src="dynsections.js"></script>
12+
<link href="search/search.css" rel="stylesheet" type="text/css"/>
13+
<script type="text/javascript" src="search/searchdata.js"></script>
14+
<script type="text/javascript" src="search/search.js"></script>
15+
<link href="doxygen.css" rel="stylesheet" type="text/css" />
16+
</head>
17+
<body>
18+
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
19+
<div id="titlearea">
20+
<table cellspacing="0" cellpadding="0">
21+
<tbody>
22+
<tr style="height: 56px;">
23+
<td id="projectalign" style="padding-left: 0.5em;">
24+
<div id="projectname">Prometheus Client Library for Modern C++
25+
</div>
26+
</td>
27+
</tr>
28+
</tbody>
29+
</table>
30+
</div>
31+
<!-- end header part -->
32+
<!-- Generated by Doxygen 1.8.17 -->
33+
<script type="text/javascript">
34+
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
35+
var searchBox = new SearchBox("searchBox", "search",false,'Search');
36+
/* @license-end */
37+
</script>
38+
<script type="text/javascript" src="menudata.js"></script>
39+
<script type="text/javascript" src="menu.js"></script>
40+
<script type="text/javascript">
41+
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
42+
$(function() {
43+
initMenu('',true,false,'search.php','Search');
44+
$(document).ready(function() { init_search(); });
45+
});
46+
/* @license-end */</script>
47+
<div id="main-nav"></div>
48+
</div><!-- top -->
49+
<!-- window showing the filter options -->
50+
<div id="MSearchSelectWindow"
51+
onmouseover="return searchBox.OnSearchSelectShow()"
52+
onmouseout="return searchBox.OnSearchSelectHide()"
53+
onkeydown="return searchBox.OnSearchSelectKey(event)">
54+
</div>
55+
56+
<!-- iframe showing the search results (closed by default) -->
57+
<div id="MSearchResultsWindow">
58+
<iframe src="javascript:void(0)" frameborder="0"
59+
name="MSearchResults" id="MSearchResults">
60+
</iframe>
61+
</div>
62+
63+
<div class="header">
64+
<div class="headertitle">
65+
<div class="title">Class List</div> </div>
66+
</div><!--header-->
67+
<div class="contents">
68+
<div class="textblock">Here are the classes, structs, unions and interfaces with brief descriptions:</div><div class="directory">
69+
<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">
70+
<tr id="row_0_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_0_" class="arrow" onclick="toggleFolder('0_')">&#9660;</span><span class="icona"><span class="icon">N</span></span><b>prometheus</b></td><td class="desc"></td></tr>
71+
<tr id="row_0_0_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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>
72+
<tr id="row_0_1_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span id="arr_0_1_" class="arrow" onclick="toggleFolder('0_1_')">&#9660;</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>
73+
<tr id="row_0_1_0_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</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>
74+
<tr id="row_0_1_1_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</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>
75+
<tr id="row_0_1_2_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</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>
76+
<tr id="row_0_1_3_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</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>
77+
<tr id="row_0_1_4_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</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>
78+
<tr id="row_0_1_5_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</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>
79+
<tr id="row_0_1_6_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</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>
80+
<tr id="row_0_1_7_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</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>
81+
<tr id="row_0_1_8_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</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>
82+
<tr id="row_0_2_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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>
83+
<tr id="row_0_3_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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>
84+
<tr id="row_0_4_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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>
85+
<tr id="row_0_5_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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>
86+
<tr id="row_0_6_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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>
87+
<tr id="row_0_7_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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>
88+
<tr id="row_0_8_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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>
89+
<tr id="row_0_9_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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>
90+
<tr id="row_0_10_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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>
91+
<tr id="row_0_11_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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>
92+
<tr id="row_0_12_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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>
93+
<tr id="row_0_13_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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>
94+
<tr id="row_0_14_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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>
95+
</table>
96+
</div><!-- directory -->
97+
</div><!-- contents -->
98+
<!-- start footer part -->
99+
<hr class="footer"/><address class="footer"><small>
100+
Generated by &#160;<a href="http://www.doxygen.org/index.html">
101+
<img class="footer" src="doxygen.png" alt="doxygen"/>
102+
</a> 1.8.17
103+
</small></address>
104+
</body>
105+
</html>

basic__auth_8h_source.html

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2+
<html xmlns="http://www.w3.org/1999/xhtml">
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5+
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6+
<meta name="generator" content="Doxygen 1.8.17"/>
7+
<meta name="viewport" content="width=device-width, initial-scale=1"/>
8+
<title>Prometheus Client Library for Modern C++: /home/runner/work/prometheus-cpp/prometheus-cpp/pull/src/basic_auth.h Source File</title>
9+
<link href="tabs.css" rel="stylesheet" type="text/css"/>
10+
<script type="text/javascript" src="jquery.js"></script>
11+
<script type="text/javascript" src="dynsections.js"></script>
12+
<link href="search/search.css" rel="stylesheet" type="text/css"/>
13+
<script type="text/javascript" src="search/searchdata.js"></script>
14+
<script type="text/javascript" src="search/search.js"></script>
15+
<link href="doxygen.css" rel="stylesheet" type="text/css" />
16+
</head>
17+
<body>
18+
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
19+
<div id="titlearea">
20+
<table cellspacing="0" cellpadding="0">
21+
<tbody>
22+
<tr style="height: 56px;">
23+
<td id="projectalign" style="padding-left: 0.5em;">
24+
<div id="projectname">Prometheus Client Library for Modern C++
25+
</div>
26+
</td>
27+
</tr>
28+
</tbody>
29+
</table>
30+
</div>
31+
<!-- end header part -->
32+
<!-- Generated by Doxygen 1.8.17 -->
33+
<script type="text/javascript">
34+
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
35+
var searchBox = new SearchBox("searchBox", "search",false,'Search');
36+
/* @license-end */
37+
</script>
38+
<script type="text/javascript" src="menudata.js"></script>
39+
<script type="text/javascript" src="menu.js"></script>
40+
<script type="text/javascript">
41+
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
42+
$(function() {
43+
initMenu('',true,false,'search.php','Search');
44+
$(document).ready(function() { init_search(); });
45+
});
46+
/* @license-end */</script>
47+
<div id="main-nav"></div>
48+
<!-- window showing the filter options -->
49+
<div id="MSearchSelectWindow"
50+
onmouseover="return searchBox.OnSearchSelectShow()"
51+
onmouseout="return searchBox.OnSearchSelectHide()"
52+
onkeydown="return searchBox.OnSearchSelectKey(event)">
53+
</div>
54+
55+
<!-- iframe showing the search results (closed by default) -->
56+
<div id="MSearchResultsWindow">
57+
<iframe src="javascript:void(0)" frameborder="0"
58+
name="MSearchResults" id="MSearchResults">
59+
</iframe>
60+
</div>
61+
62+
<div id="nav-path" class="navpath">
63+
<ul>
64+
<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>
65+
</div>
66+
</div><!-- top -->
67+
<div class="header">
68+
<div class="headertitle">
69+
<div class="title">basic_auth.h</div> </div>
70+
</div><!--header-->
71+
<div class="contents">
72+
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#pragma once</span></div>
73+
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160; </div>
74+
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="preprocessor">#include &lt;functional&gt;</span></div>
75+
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
76+
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160; </div>
77+
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#include &quot;CivetServer.h&quot;</span></div>
78+
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="preprocessor">#include &quot;civetweb.h&quot;</span></div>
79+
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160; </div>
80+
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="keyword">namespace </span>prometheus {</div>
81+
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160; </div>
82+
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="classprometheus_1_1BasicAuthHandler.html"> 14</a></span>&#160;<span class="keyword">class </span><a class="code" href="classprometheus_1_1BasicAuthHandler.html">BasicAuthHandler</a> : <span class="keyword">public</span> CivetAuthHandler {</div>
83+
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; <span class="keyword">public</span>:</div>
84+
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; <span class="keyword">using</span> AuthFunc = std::function&lt;bool(<span class="keyword">const</span> std::string&amp;, <span class="keyword">const</span> std::string&amp;)&gt;;</div>
85+
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; <span class="keyword">explicit</span> <a class="code" href="classprometheus_1_1BasicAuthHandler.html">BasicAuthHandler</a>(AuthFunc callback, std::string realm);</div>
86+
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; </div>
87+
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; <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>
88+
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; </div>
89+
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <span class="keyword">private</span>:</div>
90+
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <span class="keywordtype">bool</span> AuthorizeInner(CivetServer* server, mg_connection* conn);</div>
91+
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="keywordtype">void</span> WriteUnauthorizedResponse(mg_connection* conn);</div>
92+
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; </div>
93+
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; AuthFunc callback_;</div>
94+
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; std::string realm_;</div>
95+
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;};</div>
96+
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; </div>
97+
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;} <span class="comment">// namespace prometheus</span></div>
98+
</div><!-- fragment --></div><!-- contents -->
99+
<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>
100+
<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>
101+
<!-- start footer part -->
102+
<hr class="footer"/><address class="footer"><small>
103+
Generated by &#160;<a href="http://www.doxygen.org/index.html">
104+
<img class="footer" src="doxygen.png" alt="doxygen"/>
105+
</a> 1.8.17
106+
</small></address>
107+
</body>
108+
</html>

bc_s.png

676 Bytes
Loading

bdwn.png

147 Bytes
Loading

0 commit comments

Comments
 (0)