Class: Arpie::HTTPServerTestProtocol
- Inherits:
-
HTTPTestProtocol
- Object
- Protocol
- HTTPTestProtocol
- Arpie::HTTPServerTestProtocol
- Defined in:
- lib/arpie/xmlrpc.rb
Constant Summary
Constants inherited from HTTPTestProtocol
Arpie::HTTPTestProtocol::CAN_SEPARATE_MESSAGES
Constants inherited from Protocol
Protocol::CAN_SEPARATE_MESSAGES
Constants included from Arpie
Instance Attribute Summary
Attributes inherited from Protocol
Instance Method Summary collapse
Methods inherited from HTTPTestProtocol
Methods inherited from Protocol
#again!, #assemble, #assemble!, #from
Methods included from Arpie
Instance Method Details
#to(object) {|"HTTP/1.0 200 OK\r\nContent-Length: #{object.size}\r\n\r\n" + object| ... } ⇒ Object
104 105 106 |
# File 'lib/arpie/xmlrpc.rb', line 104 def to object yield "HTTP/1.0 200 OK\r\nContent-Length: #{object.size}\r\n\r\n" + object end |