Function

close

Frees a body.

This releases resources associated with the body.

For streaming bodies, this is a successful stream termination, which will signal via framing that the body transfer is complete.

If a handle is dropped without calling close, it's an unsuccessful stream termination.

close: func(body: body) -> result​<_, error>;