Clients -
websub :
Caller
The caller remote functions to respond to client requests.
Remote Methods
respond | Sends the response to the caller. |
ok | Sends the response to the caller with the status 200 OK. |
accepted | Sends the response to the caller with the status 202 Accepted. |
Sends the response to the caller.
Parameters
- message ResponseMessage (default ())
-
The response or any payload of type
string
,xml
,json
,byte[]
,io:ReadableByteChannel
ormime:Entity[]
-
Return Type
(error?) Returns an
error
on failure
Sends the response to the caller with the status 200 OK.
Parameters
- message ResponseMessage (default ())
-
The response or any payload of type
string
,xml
,json
,byte[]
,io:ReadableByteChannel
ormime:Entity[]
-
Return Type
(error?) Returns an
error
on failure
Sends the response to the caller with the status 202 Accepted.
Parameters
- message ResponseMessage (default ())
-
The response or any payload of type
http:ResponseMessage
-
Return Type
(error?) Returns an
error
on failure