~/bend-docscommunity

element-http@0.1.0.0 relies on unsafe/foreign

0x475c2a8333a479bccfdd668aaa51426c

HTTP/1.1 client over TCP and TLS: requests, chunked bodies, gzip, redirects, cookies, DNS. Apache-2.0. Source: https://github.com/jonasporto/element-bend-libs/tree/main/packages/element-http

element-http@0.1.0.0 by jonasporto

Published
2026-11-08
Size
117,497 bytes, 14 files
License
Apache-2.0 (LICENSE)
Declarations
14 laws (14 proved), 284 defs, 32 types

Import

import element-http@0.1.0.0/LAWS.bend as LAWS
import 0x475c2a8333a479bccfdd668aaa51426c/LAWS.bend as LAWS
import element-http@0.1.0.0/PROOF.bend as PROOF
import 0x475c2a8333a479bccfdd668aaa51426c/PROOF.bend as PROOF
import element-http@0.1.0.0/cookie.bend as Cookie
import 0x475c2a8333a479bccfdd668aaa51426c/cookie.bend as Cookie
import element-http@0.1.0.0/fetch.bend as Fetch
import 0x475c2a8333a479bccfdd668aaa51426c/fetch.bend as Fetch
import element-http@0.1.0.0/http.bend as Http
import 0x475c2a8333a479bccfdd668aaa51426c/http.bend as Http
import element-http@0.1.0.0/io.bend as Io
import 0x475c2a8333a479bccfdd668aaa51426c/io.bend as Io
import element-http@0.1.0.0/package.bend as Package
import 0x475c2a8333a479bccfdd668aaa51426c/package.bend as Package
import element-http@0.1.0.0/session.bend as Session
import 0x475c2a8333a479bccfdd668aaa51426c/session.bend as Session
import element-http@0.1.0.0/sock.bend as Sock
import 0x475c2a8333a479bccfdd668aaa51426c/sock.bend as Sock
import element-http@0.1.0.0/websocket.bend as Websocket
import 0x475c2a8333a479bccfdd668aaa51426c/websocket.bend as Websocket

Modules

Other files

Dependencies

Dependents

No package in this build imports it.

Status on bend 2.0.40

FileStatusChecker saysTime
LAWS.bendopen laws/TODOs 14 TODOs found.
Checked alone, a law without a def is a TODO; all of them are proved in files that check, so the package counts this file as checks.
output
SOME PROOFS FAIL
Error: 14 TODOs found.
The code is incomplete, and not a valid proof yet.
0.6 s
PROOF.bendchecks ALL PROOFS CHECK17.9 s
cookie.bendchecks ALL PROOFS CHECK0.6 s
fetch.bendrelies on unsafe/foreign 25 defs rely on unsafe or foreign code
output
SOME PROOFS FAIL
Error: 25 defs rely on unsafe or foreign code:
defs that depend on foreign effects: 0x475c2a8333a479bccfdd668aaa51426c/sock.Net.resolve, 0x2a6ad53e32101b810841fdab8de5a8b4/clock.Clock.unix, 0x475c2a8333a479bccfdd668aaa51426c/io.trust_with, 0x475c2a8333a479bccfdd668aaa51426c/io.trust_for, 0x475c2a8333a479bccfdd668aaa51426c/io.fresh, 0x475c2a8333a479bccfdd668aaa51426c/io.retry_empty, 0x475c2a8333a479bccfdd668aaa51426c/io.retry_stale, 0x475c2a8333a479bccfdd668aaa51426c/io.on_borrowed, 0x475c2a8333a479bccfdd668aaa51426c/io.lent, 0x475c2a8333a479bccfdd668aaa51426c/io.asked, 0x475c2a8333a479bccfdd668aaa51426c/io.pooled_get, 0x475c2a8333a479bccfdd668aaa51426c/io.own, 0x475c2a8333a479bccfdd668aaa51426c/io.get_or_own, 0x475c2a8333a479bccfdd668aaa51426c/io.https_get, get, send_now, send_within, send_any, nav, visit, fetch_as, fetch, anav, request, request_within
2.4 s
http.bendchecks ALL PROOFS CHECK0.5 s
io.bendrelies on unsafe/foreign 14 defs rely on unsafe or foreign code
output
SOME PROOFS FAIL
Error: 14 defs rely on unsafe or foreign code:
defs that depend on foreign effects: 0x475c2a8333a479bccfdd668aaa51426c/sock.Net.resolve, 0x2a6ad53e32101b810841fdab8de5a8b4/clock.Clock.unix, trust_with, trust_for, fresh, retry_empty, retry_stale, on_borrowed, lent, asked, pooled_get, own, get_or_own, https_get
2.2 s
package.bendrelies on unsafe/foreign 25 defs rely on unsafe or foreign code
output
SOME PROOFS FAIL
Error: 25 defs rely on unsafe or foreign code:
defs that depend on foreign effects: 0x475c2a8333a479bccfdd668aaa51426c/sock.Net.resolve, 0x2a6ad53e32101b810841fdab8de5a8b4/clock.Clock.unix, 0x475c2a8333a479bccfdd668aaa51426c/io.trust_with, 0x475c2a8333a479bccfdd668aaa51426c/io.trust_for, 0x475c2a8333a479bccfdd668aaa51426c/io.fresh, 0x475c2a8333a479bccfdd668aaa51426c/io.retry_empty, 0x475c2a8333a479bccfdd668aaa51426c/io.retry_stale, 0x475c2a8333a479bccfdd668aaa51426c/io.on_borrowed, 0x475c2a8333a479bccfdd668aaa51426c/io.lent, 0x475c2a8333a479bccfdd668aaa51426c/io.asked, 0x475c2a8333a479bccfdd668aaa51426c/io.pooled_get, 0x475c2a8333a479bccfdd668aaa51426c/io.own, 0x475c2a8333a479bccfdd668aaa51426c/io.get_or_own, 0x475c2a8333a479bccfdd668aaa51426c/io.https_get, 0x475c2a8333a479bccfdd668aaa51426c/fetch.get, 0x475c2a8333a479bccfdd668aaa51426c/fetch.send_now, 0x475c2a8333a479bccfdd668aaa51426c/fetch.send_within, 0x475c2a8333a479bccfdd668aaa51426c/fetch.send_any, 0x475c2a8333a479bccfdd668aaa51426c/fetch.nav, 0x475c2a8333a479bccfdd668aaa51426c/fetch.visit, 0x475c2a8333a479bccfdd668aaa51426c/fetch.fetch_as, 0x475c2a8333a479bccfdd668aaa51426c/fetch.fetch, 0x475c2a8333a479bccfdd668aaa51426c/fetch.anav, 0x475c2a8333a479bccfdd668aaa51426c/fetch.request, 0x475c2a8333a479bccfdd668aaa51426c/fetch.request_within
Hint: no law or proof uses these defs. Move them to a file this proof does not import, and the proofs will check: 0x475c2a8333a479bccfdd668aaa51426c/sock.Net.resolve, 0x2a6ad53e32101b810841fdab8de5a8b4/clock.Clock.unix, 0x475c2a8333a479bccfdd668aaa51426c/io.trust_with, 0x475c2a8333a479bccfdd668aaa51426c/io.trust_for, 0x475c2a8333a479bccfdd668aaa51426c/io.fresh, 0x475c2a8333a479bccfdd668aaa51426c/io.retry_empty, 0x475c2a8333a479bccfdd668aaa51426c/io.retry_stale, 0x475c2a8333a479bccfdd668aaa51426c/io.on_borrowed, 0x475c2a8333a479bccfdd668aaa51426c/io.lent, 0x475c2a8333a479bccfdd668aaa51426c/io.asked, 0x475c2a8333a479bccfdd668aaa51426c/io.pooled_get, 0x475c2a8333a479bccfdd668aaa51426c/io.own, 0x475c2a8333a479bccfdd668aaa51426c/io.get_or_own, 0x475c2a8333a479bccfdd668aaa51426c/io.https_get, 0x475c2a8333a479bccfdd668aaa51426c/fetch.get, 0x475c2a8333a479bccfdd668aaa51426c/fetch.send_now, 0x475c2a8333a479bccfdd668aaa51426c/fetch.send_within, 0x475c2a8333a479bccfdd668aaa51426c/fetch.send_any, 0x475c2a8333a479bccfdd668aaa51426c/fetch.nav, 0x475c2a8333a479bccfdd668aaa51426c/fetch.visit, 0x475c2a8333a479bccfdd668aaa51426c/fetch.fetch_as, 0x475c2a8333a479bccfdd668aaa51426c/fetch.fetch, 0x475c2a8333a479bccfdd668aaa51426c/fetch.anav, 0x475c2a8333a479bccfdd668aaa51426c/fetch.request, 0x475c2a8333a479bccfdd668aaa51426c/fetch.request_within
20.9 s
session.bendchecks ALL PROOFS CHECK0.5 s
sock.bendrelies on unsafe/foreign 1 def relies on unsafe or foreign code
output
SOME PROOFS FAIL
Error: 1 def relies on unsafe or foreign code:
defs that depend on foreign effects: Net.resolve
0.5 s
websocket.bendchecks ALL PROOFS CHECK0.4 s