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

cURL

@korulang/curl@0.0.1

Type-safe libcurl wrapper with phantom obligation types

curl/index.kz · 13 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

close

<!open> index.kz:276

multi.new

<empty!> index.kz:358

multi.add

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

multi.add.post

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

multi.start

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

poll

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

finish

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

await

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

cancel

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

multi.close

<!owned> index.kz:698