Skip to content

Commit d66deaf

Browse files
authored
implement Geo API (#47)
Fixes: #38
1 parent c907e91 commit d66deaf

175 files changed

Lines changed: 6148 additions & 3182 deletions

File tree

Some content is hidden

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

Doxyfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,7 @@ RECURSIVE = YES
10951095
# Note that relative paths are relative to the directory from which Doxygen is
10961096
# run.
10971097

1098-
EXCLUDE = target/release/dist/fastly/sdk-sys.h
1098+
EXCLUDE =
10991099

11001100
# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
11011101
# directories that are symbolic links (a Unix file system feature) are excluded
@@ -1119,7 +1119,7 @@ EXCLUDE_PATTERNS =
11191119
# wildcard * is used, a substring. Examples: ANamespace, AClass,
11201120
# ANamespace::AClass, ANamespace::*Test
11211121

1122-
EXCLUDE_SYMBOLS =
1122+
EXCLUDE_SYMBOLS = rust, fastly::sys
11231123

11241124
# The EXAMPLE_PATH tag can be used to specify one or more files or directories
11251125
# that contain example code fragments that are included (see the \include

docs/html/annotated.html

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -101,23 +101,26 @@
101101
<tr id="row_0_1_0_" class="odd"><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="classfastly_1_1config__store_1_1_config_store.html" target="_self">ConfigStore</a></td><td class="desc">A Compute Config Store </td></tr>
102102
<tr id="row_0_2_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span id="arr_0_2_" class="arrow" onclick="dynsection.toggleFolder('0_2_')"><span class="arrowhead opened"></span></span><span class="icona"><span class="icon">N</span></span><a class="el" href="namespacefastly_1_1device__detection.html" target="_self">device_detection</a></td><td class="desc"></td></tr>
103103
<tr id="row_0_2_0_" class="odd"><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="classfastly_1_1device__detection_1_1_device.html" target="_self">Device</a></td><td class="desc">The device data associated with a particular User-Agent string </td></tr>
104-
<tr id="row_0_3_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span id="arr_0_3_" class="arrow" onclick="dynsection.toggleFolder('0_3_')"><span class="arrowhead opened"></span></span><span class="icona"><span class="icon">N</span></span><a class="el" href="namespacefastly_1_1http.html" target="_self">http</a></td><td class="desc"></td></tr>
105-
<tr id="row_0_3_0_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span id="arr_0_3_0_" class="arrow" onclick="dynsection.toggleFolder('0_3_0_')"><span class="arrowhead opened"></span></span><span class="icona"><span class="icon">N</span></span><a class="el" href="namespacefastly_1_1http_1_1request.html" target="_self">request</a></td><td class="desc"></td></tr>
106-
<tr id="row_0_3_0_0_" class="even"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classfastly_1_1http_1_1request_1_1_pending_request.html" target="_self">PendingRequest</a></td><td class="desc"></td></tr>
107-
<tr id="row_0_3_1_" class="odd"><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="classfastly_1_1http_1_1_body.html" target="_self">Body</a></td><td class="desc"></td></tr>
108-
<tr id="row_0_3_2_" 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="classfastly_1_1http_1_1_header_values_iter.html" target="_self">HeaderValuesIter</a></td><td class="desc"></td></tr>
109-
<tr id="row_0_3_3_" class="odd"><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="classfastly_1_1http_1_1_request.html" target="_self">Request</a></td><td class="desc"></td></tr>
110-
<tr id="row_0_3_4_" 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="classfastly_1_1http_1_1_response.html" target="_self">Response</a></td><td class="desc"></td></tr>
111-
<tr id="row_0_3_5_" class="odd"><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="classfastly_1_1http_1_1_status_code.html" target="_self">StatusCode</a></td><td class="desc"></td></tr>
112-
<tr id="row_0_3_6_" 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="classfastly_1_1http_1_1_streaming_body.html" target="_self">StreamingBody</a></td><td class="desc"></td></tr>
113-
<tr id="row_0_4_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span id="arr_0_4_" class="arrow" onclick="dynsection.toggleFolder('0_4_')"><span class="arrowhead opened"></span></span><span class="icona"><span class="icon">N</span></span><a class="el" href="namespacefastly_1_1secret__store.html" target="_self">secret_store</a></td><td class="desc"></td></tr>
114-
<tr id="row_0_4_0_" 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="classfastly_1_1secret__store_1_1_secret.html" target="_self">Secret</a></td><td class="desc"></td></tr>
115-
<tr id="row_0_4_1_" class="odd"><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="classfastly_1_1secret__store_1_1_secret_store.html" target="_self">SecretStore</a></td><td class="desc"></td></tr>
116-
<tr id="row_0_5_" 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="classfastly_1_1_body.html" target="_self">Body</a></td><td class="desc"></td></tr>
117-
<tr id="row_0_6_" class="odd"><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="classfastly_1_1_config_store.html" target="_self">ConfigStore</a></td><td class="desc">A Compute Config Store </td></tr>
118-
<tr id="row_0_7_" 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="classfastly_1_1_request.html" target="_self">Request</a></td><td class="desc"></td></tr>
119-
<tr id="row_0_8_" class="odd"><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="classfastly_1_1_response.html" target="_self">Response</a></td><td class="desc"></td></tr>
120-
<tr id="row_0_9_" 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="classfastly_1_1_secret_store.html" target="_self">SecretStore</a></td><td class="desc"></td></tr>
104+
<tr id="row_0_3_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span id="arr_0_3_" class="arrow" onclick="dynsection.toggleFolder('0_3_')"><span class="arrowhead opened"></span></span><span class="icona"><span class="icon">N</span></span><a class="el" href="namespacefastly_1_1geo.html" target="_self">geo</a></td><td class="desc"></td></tr>
105+
<tr id="row_0_3_0_" class="odd"><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="classfastly_1_1geo_1_1_geo.html" target="_self">Geo</a></td><td class="desc">The geographic data associated with a particular IP address </td></tr>
106+
<tr id="row_0_3_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="classfastly_1_1geo_1_1_utc_offset.html" target="_self">UtcOffset</a></td><td class="desc"></td></tr>
107+
<tr id="row_0_4_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span id="arr_0_4_" class="arrow" onclick="dynsection.toggleFolder('0_4_')"><span class="arrowhead opened"></span></span><span class="icona"><span class="icon">N</span></span><a class="el" href="namespacefastly_1_1http.html" target="_self">http</a></td><td class="desc"></td></tr>
108+
<tr id="row_0_4_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span id="arr_0_4_0_" class="arrow" onclick="dynsection.toggleFolder('0_4_0_')"><span class="arrowhead opened"></span></span><span class="icona"><span class="icon">N</span></span><a class="el" href="namespacefastly_1_1http_1_1request.html" target="_self">request</a></td><td class="desc"></td></tr>
109+
<tr id="row_0_4_0_0_" class="odd"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classfastly_1_1http_1_1request_1_1_pending_request.html" target="_self">PendingRequest</a></td><td class="desc"></td></tr>
110+
<tr id="row_0_4_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="classfastly_1_1http_1_1_body.html" target="_self">Body</a></td><td class="desc"></td></tr>
111+
<tr id="row_0_4_2_" class="odd"><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="classfastly_1_1http_1_1_header_values_iter.html" target="_self">HeaderValuesIter</a></td><td class="desc"></td></tr>
112+
<tr id="row_0_4_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="classfastly_1_1http_1_1_request.html" target="_self">Request</a></td><td class="desc"></td></tr>
113+
<tr id="row_0_4_4_" class="odd"><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="classfastly_1_1http_1_1_response.html" target="_self">Response</a></td><td class="desc"></td></tr>
114+
<tr id="row_0_4_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="classfastly_1_1http_1_1_status_code.html" target="_self">StatusCode</a></td><td class="desc"></td></tr>
115+
<tr id="row_0_4_6_" class="odd"><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="classfastly_1_1http_1_1_streaming_body.html" target="_self">StreamingBody</a></td><td class="desc"></td></tr>
116+
<tr id="row_0_5_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span id="arr_0_5_" class="arrow" onclick="dynsection.toggleFolder('0_5_')"><span class="arrowhead opened"></span></span><span class="icona"><span class="icon">N</span></span><a class="el" href="namespacefastly_1_1secret__store.html" target="_self">secret_store</a></td><td class="desc"></td></tr>
117+
<tr id="row_0_5_0_" class="odd"><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="classfastly_1_1secret__store_1_1_secret.html" target="_self">Secret</a></td><td class="desc"></td></tr>
118+
<tr id="row_0_5_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="classfastly_1_1secret__store_1_1_secret_store.html" target="_self">SecretStore</a></td><td class="desc"></td></tr>
119+
<tr id="row_0_6_" class="odd"><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="classfastly_1_1_body.html" target="_self">Body</a></td><td class="desc"></td></tr>
120+
<tr id="row_0_7_" 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="classfastly_1_1_config_store.html" target="_self">ConfigStore</a></td><td class="desc">A Compute Config Store </td></tr>
121+
<tr id="row_0_8_" class="odd"><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="classfastly_1_1_request.html" target="_self">Request</a></td><td class="desc"></td></tr>
122+
<tr id="row_0_9_" 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="classfastly_1_1_response.html" target="_self">Response</a></td><td class="desc"></td></tr>
123+
<tr id="row_0_10_" class="odd"><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="classfastly_1_1_secret_store.html" target="_self">SecretStore</a></td><td class="desc"></td></tr>
121124
</table>
122125
</div><!-- directory -->
123126
</div><!-- contents -->

docs/html/annotated_dup.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ var annotated_dup =
1111
[ "device_detection", "namespacefastly_1_1device__detection.html", [
1212
[ "Device", "classfastly_1_1device__detection_1_1_device.html", "classfastly_1_1device__detection_1_1_device" ]
1313
] ],
14+
[ "geo", "namespacefastly_1_1geo.html", [
15+
[ "Geo", "classfastly_1_1geo_1_1_geo.html", "classfastly_1_1geo_1_1_geo" ],
16+
[ "UtcOffset", "classfastly_1_1geo_1_1_utc_offset.html", "classfastly_1_1geo_1_1_utc_offset" ]
17+
] ],
1418
[ "http", "namespacefastly_1_1http.html", [
1519
[ "request", "namespacefastly_1_1http_1_1request.html", [
1620
[ "PendingRequest", "classfastly_1_1http_1_1request_1_1_pending_request.html", "classfastly_1_1http_1_1request_1_1_pending_request" ]

docs/html/backend_8h.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
<div class="headertitle"><div class="title">backend.h File Reference</div></div>
9292
</div><!--header-->
9393
<div class="contents">
94-
<div class="textblock"><code>#include &quot;sdk-sys.h&quot;</code><br />
94+
<div class="textblock"><code>#include &quot;<a class="el" href="sdk-sys_8h_source.html">sdk-sys.h</a>&quot;</code><br />
9595
<code>#include &lt;chrono&gt;</code><br />
9696
<code>#include &lt;string&gt;</code><br />
9797
</div>

docs/html/backend_8h_source.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
<a href="backend_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#ifndef FASTLY_BACKEND_H</span></div>
9595
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define FASTLY_BACKEND_H</span></div>
9696
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
97-
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include &quot;sdk-sys.h&quot;</span></div>
97+
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include &quot;<a class="code" href="sdk-sys_8h.html">sdk-sys.h</a>&quot;</span></div>
9898
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include &lt;chrono&gt;</span></div>
9999
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &lt;string&gt;</span></div>
100100
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span> </div>
@@ -230,6 +230,7 @@
230230
<div class="ttc" id="aclassfastly_1_1backend_1_1_backend_html_aff55b66a47a5a4dbf97fc6c9338be687"><div class="ttname"><a href="classfastly_1_1backend_1_1_backend.html#aff55b66a47a5a4dbf97fc6c9338be687">fastly::backend::Backend::get_port</a></div><div class="ttdeci">uint16_t get_port()</div></div>
231231
<div class="ttc" id="anamespacefastly_1_1backend_html"><div class="ttname"><a href="namespacefastly_1_1backend.html">fastly::backend</a></div><div class="ttdef"><b>Definition</b> backend.h:8</div></div>
232232
<div class="ttc" id="anamespacefastly_html"><div class="ttname"><a href="namespacefastly.html">fastly</a></div><div class="ttdef"><b>Definition</b> backend.h:8</div></div>
233+
<div class="ttc" id="asdk-sys_8h_html"><div class="ttname"><a href="sdk-sys_8h.html">sdk-sys.h</a></div></div>
233234
</div><!-- fragment --></div><!-- contents -->
234235
</div><!-- doc-content -->
235236
</div><!-- container -->

docs/html/body_8h.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
<code>#include &lt;streambuf&gt;</code><br />
100100
<code>#include &lt;string&gt;</code><br />
101101
<code>#include &lt;vector&gt;</code><br />
102-
<code>#include &quot;../sdk-sys.h&quot;</code><br />
102+
<code>#include &quot;<a class="el" href="sdk-sys_8h_source.html">../sdk-sys.h</a>&quot;</code><br />
103103
</div>
104104
<p><a href="body_8h_source.html">Go to the source code of this file.</a></p>
105105
<table class="memberdecls">

docs/html/body_8h_source.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include &lt;string&gt;</span></div>
105105
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#include &lt;vector&gt;</span></div>
106106
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> </div>
107-
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#include &quot;../sdk-sys.h&quot;</span></div>
107+
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#include &quot;<a class="code" href="sdk-sys_8h.html">../sdk-sys.h</a>&quot;</span></div>
108108
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> </div>
109109
<div class="foldopen" id="foldopen00016" data-start="{" data-end="}">
110110
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"><a class="line" href="namespacefastly_1_1http.html"> 16</a></span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacefastly_1_1http.html">fastly::http</a> {</div>
@@ -273,6 +273,7 @@
273273
<div class="ttc" id="anamespacefastly_html"><div class="ttname"><a href="namespacefastly.html">fastly</a></div><div class="ttdef"><b>Definition</b> backend.h:8</div></div>
274274
<div class="ttc" id="arequest_8h_html"><div class="ttname"><a href="request_8h.html">request.h</a></div></div>
275275
<div class="ttc" id="aresponse_8h_html"><div class="ttname"><a href="response_8h.html">response.h</a></div></div>
276+
<div class="ttc" id="asdk-sys_8h_html"><div class="ttname"><a href="sdk-sys_8h.html">sdk-sys.h</a></div></div>
276277
</div><!-- fragment --></div><!-- contents -->
277278
</div><!-- doc-content -->
278279
</div><!-- container -->

0 commit comments

Comments
 (0)