Commit graph

172 commits

Author SHA1 Message Date
Folkert
791fda0270 update cli example 2021-04-12 20:49:48 +02:00
Richard Feldman
792a18816a Update authors in Cargo.toml 2021-04-11 08:11:52 -04:00
Richard Feldman
a3c7dc494b Add HTTP error handling to CLI example 2021-04-06 22:45:04 -04:00
Richard Feldman
dba526bb3e Add Task.onFail and Task.attempt 2021-04-06 22:44:39 -04:00
Richard Feldman
4bb0852bd8 Add RocResult 2021-04-06 22:44:25 -04:00
Richard Feldman
80446a5dfb
Make HttpGet.roc print things a little more nicely 2021-04-05 22:26:46 -04:00
Richard Feldman
da75c3e4a1 Make use of tag literals being usable as functions
Thanks @rcvas!
2021-04-05 22:21:18 -04:00
Richard Feldman
61ae65905c Fix incorrect Http.getUtf8 type 2021-04-05 22:21:04 -04:00
Richard Feldman
aff8df814d Actually print the HTTP response 2021-04-05 22:12:03 -04:00
Richard Feldman
490427f730 Use ureq over reqwest 2021-04-05 22:11:48 -04:00
Richard Feldman
e052938837 Use reqwest::blocking::get in cli host 2021-04-05 21:19:08 -04:00
Richard Feldman
2d0f8482e9 Rename Http.getStr to Http.getUtf8 2021-04-05 21:18:49 -04:00
Richard Feldman
e96a799a01 Fix some warnings 2021-04-05 20:23:59 -04:00
Richard Feldman
30db822051 Add basic Http.roc 2021-04-05 20:15:47 -04:00
Richard Feldman
2c03303494 Update .gitignore 2021-04-05 20:15:39 -04:00
Richard Feldman
9e71f83cf5 Drop unused Task function 2021-04-05 20:15:16 -04:00
Richard Feldman
bd9e93f5ed Add initial Http module to cli example 2021-04-05 20:15:06 -04:00
Richard Feldman
5e2c4bdda4 Add reqwest and openssl deps to cli example 2021-04-05 20:14:43 -04:00
Richard Feldman
7b70e9b0e4 Update cli example platform 2021-04-03 22:14:25 -04:00
Richard Feldman
1de0918ba9 Echo example in CLI 2021-04-03 21:20:45 -04:00
Richard Feldman
659966c878 Revise CLI example 2021-04-03 21:20:45 -04:00
Richard Feldman
fd06781954 Add CLI example 2021-04-03 21:20:45 -04:00