MarkLogic 12 EA 1 Product Documentation
xdmp:get-request-port

xdmp:get-request-port() as xs:integer?

Summary

Returns the port of the request.

Example

xdmp:get-request-port()
=> 8000
Powered by MarkLogic Server | Terms of Use | Privacy Policy