This method is called from either the
response objects. It returns the HTTP protocol version of the request or response.
When developing an application that interacts with OrientDB through the HTTP protocol, you may find it useful to check the HTTP version used in requests or responses. Especially on cases where you're relying on features introduced in more recent versions.
var version = request.getHttpVersion() var version = response.getHttpVersion()
This method returns a string that provides the HTTP protocol version of the request or response.