Skip to content

BodyNotNeeded

[Source]

Returned by RequestHandler.start_streaming() when streaming cannot begin.

This happens in two cases: the request is HEAD (the framework sends a headers-only response automatically), or respond() was already called. In either case, the handler should not start a producer — there is no stream to write to.

primitive val BodyNotNeeded

Constructors

create

[Source]

new val create()
: BodyNotNeeded val^

Returns


Public Functions

eq

[Source]

fun box eq(
  that: BodyNotNeeded val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: BodyNotNeeded val)
: Bool val

Parameters

Returns