new HttpQueryService(server, route, do_query)
- Description:
Implements a HTTP POST query interface for a server service.
-
A POST service is attached to the given route.
-
This is the server side of a simple client/server service mechanism.
-
Parameters:
Name | Type | Description |
---|---|---|
server |
express | The express server mechanism. |
route |
string | The service route. |
do_query |
callback | A do_query(query: object, answer(response: string)) implementing the service.
|