MCPcopy Create free account
hub / github.com/FreeOpcUa/python-opcua / _create_request_header

Method _create_request_header

opcua/client/ua_client.py:141–147  ·  view source on GitHub ↗
(self, timeout=1000)

Source from the content-addressed store, hash-verified

139 self._callbackmap.clear()
140
141 def _create_request_header(self, timeout=1000):
142 hdr = ua.RequestHeader()
143 hdr.AuthenticationToken = self.authentication_token
144 self._request_handle += 1
145 hdr.RequestHandle = self._request_handle
146 hdr.TimeoutHint = timeout
147 return hdr
148
149 def connect_socket(self, host, port):
150 """

Callers 1

_send_requestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected