xo::mr::bgdelivery proc can_be_used (public)

 xo::mr::bgdelivery[i] can_be_used

Defined in packages/xotcl-core/tcl/message-relay-procs.tcl

To use the bgdelivery serive, we require support from the web server, an installed bgdelivery. This method does not work on HTTPS, since this method writes to the raw sockets.

Testcases:
No testcase defined.
Source code:
#
# To use the bgdelivery serive, we require support from the web
# server, an installed bgdelivery. This method does not work on
# HTTPS, since this method writes to the raw sockets.
#
return [expr {
              [info commands ::thread::mutex] ne ""
              && [info commands ::bgdelivery] ne ""
              && (![ns_conn isconnected] || ![security::secure_conn_p])
            }]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: