These libraries are experimental. APIs may change without notice. Generated from source with koruc 0.1.7 on 11/4/2026.

cURL

@korulang/curl@0.0.1

Type-safe libcurl wrapper with phantom obligation types

curl/index.kz · 14 tors

@koru/curl - HTTP Client for Koru Wraps industry-standard libcurl with phantom obligation types to enforce connection cleanup at compile-time.

Phantom lifecycles

Derived from the phantom labels in the declarations below — state! issues an obligation the compiler will chase, !state discharges it, a bare state holds it without moving it. Nothing here is hand-drawn.

Response 1 state open!
Multi 3 states empty!open!owned!
Pending 1 state open!

get

<open!> index.kz:72

post

<open!> index.kz:130

post.with-headers

<open!> index.kz:195

status

<open> index.kz:281

close

<!open> index.kz:291

multi.new

<empty!> index.kz:373

multi.add

<!empty|!open><open!> index.kz:392

multi.add.post

<!empty|!open><open!> index.kz:427

multi.start

<!open><open!> index.kz:483

poll

<open><open!> index.kz:574

finish

<!open><owned!> index.kz:632

await

<!open><open!><owned!> index.kz:642

cancel

<!open><owned!> index.kz:696

multi.close

<!owned> index.kz:713