on master help sign in
add missing structure and return section to %request-local
commit54bb4f230ab61589ff8f999a993af074900762a4 authortinnus-napbus <admin@tinnus-napbus.xyz> dateWed 21 Jul 2021, 14:56 (5 years ago) parent7b2a828
1 file changed+8
arvo/eyre/tasks.md+8
arvo/eyre/tasks.md+8
@@ -70,8 +70,16 @@ Eyre may `pass` a `%response` `gift` on the appropriate `duct` depending on the
7070
7171# `%request-local`
7272
73+```hoon
74+[%request-local secure=? =address =request:http]
75+```
76+
7377This `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.
7478
79+## Returns
80+
81+Eyre may `pass` a `%response` `gift` on the appropriate `duct` depending on the contents of the `%request`, state of the connection, and other factors.
82+
7583# `%cancel-request`
7684
7785```hoon