Method: Pantry::Communication::Security::Authentication#write_response
- Defined in:
- lib/pantry/communication/security/authentication.rb
#write_response(request, response_code, response_text) ⇒ Object
84 85 86 87 88 89 90 91 92 93 |
# File 'lib/pantry/communication/security/authentication.rb', line 84 def write_response(request, response_code, response_text) @socket.write([ request[0], # Version request[1], # Sequence / Request id response_code, response_text, "", # username "" # metadata ]) end |