|
|||||
|
||||||
Related Syntax | Other Library Functions |
function |
wsb.dispatch-request |
Library: Net, Web Services Broker (OMWSB)
Import: omwsb.xmd |
export external function dispatch-request value request request using value server server to value stream program
Argument definitions
The dispatch-request function call is used by the server program to transfer the processing of a request to a service program. This function is typically used when the server is handling an unknown request and wants the processing to be done in a separate thread as opposed to processing the request itself. The program must be a WSB service program just like the service programs that are added via the add-service call.
Note that it is much more efficient to have a registered service handle a particular request than to manually recognize and dispatch them in the server loop.