Class: XMLRPC::ClientS
- Inherits:
-
Client
- Object
- Client
- XMLRPC::ClientS
- Defined in:
- lib/xmlrpc/xmlrpcs.rb
Overview
This class must be subclassed to put your own transport code in it. There are 3 private method that are to be changed.
new_socket MUST
be redefined or will raise a NotImplementedError, while write_request and read_response have to be changed to use a specific protocol, the default is that there is no control on the write operation and the receiving the response is ended by the closoure of the socket. In the test i use a very simple protocol for instance which needs no explanation.
Instance Method Summary collapse
-
#initialize(info = nil) ⇒ ClientS
constructor
The info parameter will be passed to the new_socket function as it is.
Constructor Details
#initialize(info = nil) ⇒ ClientS
The info parameter will be passed to the new_socket function as it is
23 24 25 |
# File 'lib/xmlrpc/xmlrpcs.rb', line 23 def initialize(info=nil) @info = info end |