Clients - websub : Caller

The caller remote functions to respond to client requests.

respond

(Response | string | xml | json | byte[] | ReadableByteChannel | Entity[] | () message)

returns error?

Sends the response to the caller.

Parameters

  • Return Type

    (error?)
  • Returns an error on failure

ok

(Response | string | xml | json | byte[] | ReadableByteChannel | Entity[] | () message)

returns error?

Sends the response to the caller with the status 200 OK.

Parameters

  • Return Type

    (error?)
  • Returns an error on failure

accepted

(Response | string | xml | json | byte[] | ReadableByteChannel | Entity[] | () message)

returns error?

Sends the response to the caller with the status 202 Accepted.

Parameters

  • Return Type

    (error?)
  • Returns an error on failure