shrub/gen/curl-hiss.hoon
2016-03-08 18:00:07 -08:00

15 lines
268 B
Plaintext

::
:::: /hoon/curl/gen
::
/? 310
/- sole
[sole]
:- %get |= {^ {a/hiss $~} $~}
^- (sole-request (cask httr))
?. ?=($get p.q.a)
~| %only-get-requests-supported-in-generators :: XX enforced?
!!
:- *tang
:+ %| `hiss`a
|=(hit/httr (sole-so %httr hit))