Method: DigitalFabric::AgentProxy#http_request_message
- Defined in:
- lib/tipi/digital_fabric/agent_proxy.rb
#http_request_message(id, req, kind, message) ⇒ Boolean
Returns true if response is complete.
179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 |
# File 'lib/tipi/digital_fabric/agent_proxy.rb', line 179 def (id, req, kind, ) case kind when Protocol::HTTP_UPGRADE http_custom_upgrade(id, req, *) true when Protocol::HTTP_GET_REQUEST_BODY http_get_request_body(id, req, *) false when Protocol::HTTP_RESPONSE http_response(id, req, *) else # invalid message true end end |