Rename Http.getStr to Http.getUtf8

This commit is contained in:
Richard Feldman 2021-04-05 21:18:49 -04:00
parent e96a799a01
commit 2d0f8482e9
4 changed files with 6 additions and 6 deletions

View file

@ -47,7 +47,7 @@ pub fn roc_fx_putLine(line: RocStr) -> () {
}
#[no_mangle]
pub fn roc_fx_httpGetStr(url: RocStr) -> RocStr {
pub fn roc_fx_httpGetUtf8(url: RocStr) -> RocStr {
println!("TODO: read from this URL {:?}", url);
RocStr::from_slice("url!!!".as_bytes())