Skip to content

SyncHandler

[Source]

Use this handler, when you want to handle your requests without accessing other actors.

interface ref SyncHandler

Public Functions

apply

[Source]

fun ref apply(
  request: Request val,
  body: (ByteArrays val | None val))
: ByteSeqIter val ?

Parameters

Returns


error_response

[Source]

fun box error_response(
  request: Request val)
: (ByteSeqIter val | None val)

Parameters

Returns