nsmcp::HttpTransport method questionPoll (public)
<instance of nsmcp::HttpTransport> questionPoll authorization \ server key handle
Defined in /usr/local/ns/tcl/nsmcp/transport.tcl
Authenticate and dispatch an administrative question poll operation. Apply the question credential policy and always clean up the temporary request context.
- Parameters:
- authorization (required)
- Authorization header supplied by the caller.
- server (required)
- Selected NaviServer virtual-server name.
- key (required)
- Administrative question-poll operation selector.
- handle (required)
- Retained job or conversation handle; ownership and expiry checks still apply.
- Returns:
- The internal HTTP response descriptor.
- Testcases:
- No testcase defined.
Source code: set context [${:authenticator} authenticate $authorization $server] try { :questionPolicy $context $key set response [${:protocol} handle $context [ns_json value -- [list {} object [list jsonrpc string 2.0 id number 1 method string tools/call params object [list name string log_results arguments object [list jobHandle string $handle]]]]]] set root [ns_json parse -output triples -- [dict get $response body]] return [ns_json value -- [list {} object [ns_json triples getvalue -output triples -path result -- $root]]] } finally { $context destroy }XQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)