Pudu programming language
Menu
API reference

Std.Http.Message.responseComplete

1 declaration

fn

responseComplete: &Bytes -> &Std.Http.Method -> Bool

This is a callable function.

What it does

Whether a complete response has arrived without waiting for its connection to close.

A declared length and a terminating chunk frame are message boundaries. HEAD and statuses

that never carry a body end at the blank line after their headers. A response without one of

those boundaries remains incomplete until its transport reports closure.

Read the signature

  • The text after the name is the type checked by Pudu.
  • Read arrows from left to right: inputs come first, and the final type is returned.
  • & borrows a value for this call instead of moving or copying it.

Back to Std.Http.MessageSearch related declarations