.. _browsing: ====================== Address Space Browsing ====================== Address space browsing is done with the 'browse' method. Both the client and server have this method. The browse method accepts three parameter types: #. String with node ID #. Array of strings with Node ID #. Table with detailed parameters These parameters are described in section :ref:`browseParameters`. Method browse returns :ref:`browseResult` Browsing by String NodeID ------------------------- To browse a single node, you need to pass a string with node ID into the browse Method: .. literalinclude:: examples/client/client_browse.lua :language: lua :lines: 52-53 `Full source <_static/client/client_browse.lua>`__ To browse several nodes at once, you can pass an array of nodeIDs as follows: .. literalinclude:: examples/client/client_browse.lua :language: lua :lines: 70-71 `Full source <_static/client/client_browse.lua>`__ Browsing a node by ID sends a request to the server with the following parameters: * Follow Hierarchical references in forward direction * Node class mask - All node classes * Result mask - all attributes Detailed Parameters ------------------- For special cases, you can manually set the :ref:`browse parameters` as shown in the following example: .. literalinclude:: examples/client/client_browse.lua :language: lua :lines: 88-110 `Full source <_static/client/client_browse.lua>`__