@@ -20,7 +20,7 @@ This `task` notifies Eyre of the listening HTTPS and HTTP ports. It is automatic
21The `insecure` field is the HTTP port and `secure` is the optional HTTPS port.
21The `insecure` field is the HTTP port and `secure` is the optional HTTPS port.
23−### Returns
23+#### Returns
25Eyre returns no `gift` in response to a `%live` `task`.
25Eyre returns no `gift` in response to a `%live` `task`.
@@ -34,7 +34,7 @@ This `task` either configures HTTPS with a certificate and keypair, or configure
35The [$http-rule](/docs/arvo/eyre/data-types#http-rule) is either tagged with `%cert` or `%turf`. A `%cert` `http-rule` sets an HTTPS certificate and keypair or removes it if null. A `%turf` `http-rule` either adds or removes a DNS binding depending on whether the `action` is `%put` or `%del`. Note that using `%turf` will automatically cause the system to try and obtain a certificate and keypair via Letsencrypt.
35The [$http-rule](/docs/arvo/eyre/data-types#http-rule) is either tagged with `%cert` or `%turf`. A `%cert` `http-rule` sets an HTTPS certificate and keypair or removes it if null. A `%turf` `http-rule` either adds or removes a DNS binding depending on whether the `action` is `%put` or `%del`. Note that using `%turf` will automatically cause the system to try and obtain a certificate and keypair via Letsencrypt.
37−### Returns
37+#### Returns
39Eyre returns no `gift` in response to a `%rule` `task`.
39Eyre returns no `gift` in response to a `%rule` `task`.
@@ -48,7 +48,7 @@ This `task` is how Eyre receives an inbound HTTP request. It will ordinarily be
49The `secure` field says whether it's over HTTPS. The `address` is the IP address from which the request originated. The [$request:http](/docs/arvo/eyre/data-types#requesthttp) is the HTTP request itself containing the method, URL, headers, and body.
49The `secure` field says whether it's over HTTPS. The `address` is the IP address from which the request originated. The [$request:http](/docs/arvo/eyre/data-types#requesthttp) is the HTTP request itself containing the method, URL, headers, and body.
51−### Returns
51+#### Returns
53Eyre may `pass` a `%response` `gift` on the appropriate `duct` depending on the contents of the `%request`, state of the connection, and other factors.
53Eyre may `pass` a `%response` `gift` on the appropriate `duct` depending on the contents of the `%request`, state of the connection, and other factors.
@@ -60,7 +60,7 @@ Eyre may `pass` a `%response` `gift` on the appropriate `duct` depending on the
61This `task` is how Eyre receives an inbound HTTP request over the local loopback port. It behaves the same and takes the same arguments as in the [%request](#request) example except it skips any normally required authentication. Just like for a [%request](#request) `task`, you'd not normally use this manually.
61This `task` is how Eyre receives an inbound HTTP request over the local loopback port. It behaves the same and takes the same arguments as in the [%request](#request) example except it skips any normally required authentication. Just like for a [%request](#request) `task`, you'd not normally use this manually.
63−### Returns
63+#### Returns
65Eyre may `pass` a `%response` `gift` on the appropriate `duct` depending on the contents of the `%request`, state of the connection, and other factors.
65Eyre may `pass` a `%response` `gift` on the appropriate `duct` depending on the contents of the `%request`, state of the connection, and other factors.
@@ -74,7 +74,7 @@ This `task` is sent to Eyre by the runtime when an HTTP client closes its previo
75This `task` takes no arguments.
75This `task` takes no arguments.
77−### Returns
77+#### Returns
79Eyre may `pass` a `%response` `gift` on the appropriate `duct` depending on the state of the connection and other factors.
79Eyre may `pass` a `%response` `gift` on the appropriate `duct` depending on the state of the connection and other factors.
@@ -98,7 +98,7 @@ The `cage` of the second and subsequent `fact`s must have a `mark` of `%http-res
99Finally, once you've sent all the `fact`s you want, you can `kick` Eyre's subscription and it will complete the response and close the connection to the HTTP client.
99Finally, once you've sent all the `fact`s you want, you can `kick` Eyre's subscription and it will complete the response and close the connection to the HTTP client.
101−### Returns
101+#### Returns
103Eyre will respond with a `%bound` `gift` which says whether the binding was successful and looks like:
103Eyre will respond with a `%bound` `gift` which says whether the binding was successful and looks like:
@@ -108,7 +108,7 @@ Eyre will respond with a `%bound` `gift` which says whether the binding was succ
109The `accepted` field says whether the binding succeeded and the `binding` is the requested binding described above.
109The `accepted` field says whether the binding succeeded and the `binding` is the requested binding described above.
111−### Example
111+#### Example
113See the [Direct HTTP Handling With Gall Agents](/docs/arvo/eyre/examples#direct-http-handling-with-gall-agents) section of the [Examples](/docs/arvo/eyre/examples) document for an example.
113See the [Direct HTTP Handling With Gall Agents](/docs/arvo/eyre/examples#direct-http-handling-with-gall-agents) section of the [Examples](/docs/arvo/eyre/examples) document for an example.
@@ -140,11 +140,11 @@ The `?` says whether the HTTP request contained a valid session cookie and the [
141The `simple-payload:http` returned by the generator is similar to the response described in the [%connect](#connect) section except the HTTP headers and body are all contained in the one response rather than staggered across several.
141The `simple-payload:http` returned by the generator is similar to the response described in the [%connect](#connect) section except the HTTP headers and body are all contained in the one response rather than staggered across several.
143−### Returns
143+#### Returns
145Eyre will return a `%bound` `gift` as described at the end of the [%connect](#connect) section.
145Eyre will return a `%bound` `gift` as described at the end of the [%connect](#connect) section.
147−### Example
147+#### Example
149See the [Generators](/docs/arvo/eyre/examples#generators) section of the [Examples](/docs/arvo/eyre/examples) document for an example.
149See the [Generators](/docs/arvo/eyre/examples#generators) section of the [Examples](/docs/arvo/eyre/examples) document for an example.
@@ -158,7 +158,7 @@ This `task` deletes a URL binding previously set by a `%connect` or `%serve` `ta
159The [$binding](/docs/arvo/eyre/data-types#binding) is the URL path and domain of the binding you want to delete.
159The [$binding](/docs/arvo/eyre/data-types#binding) is the URL path and domain of the binding you want to delete.
161−### Returns
161+#### Returns
163Eyre returns no `gift` in response to a `%disconnect` `task`.
163Eyre returns no `gift` in response to a `%disconnect` `task`.
@@ -172,7 +172,7 @@ This `task` tells Eyre that the web login code has changed, causing Eyre to thro
173This `task` takes no arguments.
173This `task` takes no arguments.
175−### Returns
175+#### Returns
177Eyre returns no `gift` in response to a `%code-changed` `task`.
177Eyre returns no `gift` in response to a `%code-changed` `task`.
@@ -186,11 +186,11 @@ This `task` tells Eyre to start responding positively to CORS requests for the s
187The [$origin](/docs/arvo/eyre/data-types#origin) is a CORS origin like `http://foo.example` you want to approve.
187The [$origin](/docs/arvo/eyre/data-types#origin) is a CORS origin like `http://foo.example` you want to approve.
189−### Returns
189+#### Returns
191Eyre returns no `gift` in response to a `%approve-origin` `task`.
191Eyre returns no `gift` in response to a `%approve-origin` `task`.
193−### Example
193+#### Example
195See the [Managing CORS Origins](/docs/arvo/eyre/examples#managing-cors-origins) section of the [Examples](/docs/arvo/eyre/examples) document for an example.
195See the [Managing CORS Origins](/docs/arvo/eyre/examples#managing-cors-origins) section of the [Examples](/docs/arvo/eyre/examples) document for an example.
@@ -204,10 +204,10 @@ This `task` tells Eyre to start responding negatively to CORS requests for the s
205The [$origin](/docs/arvo/eyre/data-types#origin) is a CORS origin like `http://foo.example` you want want to reject.
205The [$origin](/docs/arvo/eyre/data-types#origin) is a CORS origin like `http://foo.example` you want want to reject.
207−### Returns
207+#### Returns
209Eyre returns no `gift` in response to a `%reject-origin` `task`.
209Eyre returns no `gift` in response to a `%reject-origin` `task`.
211−### Example
211+#### Example
213See the [Managing CORS Origins](/docs/arvo/eyre/examples#managing-cors-origins) section of the [Examples](/docs/arvo/eyre/examples) document for an example.
213See the [Managing CORS Origins](/docs/arvo/eyre/examples#managing-cors-origins) section of the [Examples](/docs/arvo/eyre/examples) document for an example.