Method: Oxblood::Connection#read_response

Defined in:
lib/oxblood/connection.rb

#read_responseObject

TODO:

Raise specific error if server has nothing to answer.

Note:

Will raise RSocket::TimeoutError even if there is simply no response to read from server. For example, if you are trying to read response before sending command.

Read response from server

Raises:



65
66
67
# File 'lib/oxblood/connection.rb', line 65

def read_response
  Protocol.parse(@socket)
end