You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: http/request.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -366,7 +366,7 @@ <h3 id="headers">Headers</h3>
366
366
request.headers["Authorization"] = ... my auth token</code></pre>
367
367
<h4id="extending-headers">Extending Headers</h4>
368
368
<p>We generally seek to improve code bases by removing stringly typed code where possible. We can add variables to the headers using generic extensions.</p>
369
-
<pre><codeclass="language-swift">extension KeyAccessible where Key == HeaderKey, Value == String {
369
+
<pre><codeclass="language-swift">extension HTTP.KeyAccessible where Key == HeaderKey, Value == String {
Copy file name to clipboardExpand all lines: http/response.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -344,7 +344,7 @@ <h4 id="headers">Headers</h4>
344
344
response.headers["Authorization"] = ... my auth token</code></pre>
345
345
<h5id="extending-headers">Extending Headers</h5>
346
346
<p>We generally seek to improve code bases by removing stringly typed code where possible. We can add variables to the headers using generic extensions.</p>
347
-
<pre><codeclass="language-swift">extension KeyAccessible where Key == HeaderKey, Value == String {
347
+
<pre><codeclass="language-swift">extension HTTP.KeyAccessible where Key == HeaderKey, Value == String {
0 commit comments